This commit is contained in:
parent
6f2686e0d3
commit
8ec486cfc1
1 changed files with 4 additions and 0 deletions
|
@ -97,6 +97,8 @@ func userInbox(w http.ResponseWriter, r *http.Request) {
|
|||
handleAccept(w, r, data)
|
||||
case "Reject":
|
||||
handleReject(w, r, data)
|
||||
case "Create":
|
||||
handleCreate(w, r, data)
|
||||
default:
|
||||
log.Warn().Str("object-type", objectType).Msg("Unknown message type")
|
||||
webutils.ProblemDetailsStatusOnly(w, 500)
|
||||
|
@ -665,3 +667,5 @@ func handleReject(w http.ResponseWriter, r *http.Request, object map[string]any)
|
|||
return
|
||||
}
|
||||
}
|
||||
|
||||
func handleCreate(w http.ResponseWriter, r *http.Request, object map[string]any) {}
|
||||
|
|
Loading…
Reference in a new issue