🗑 Implemented Delete Pusher

This commit is contained in:
Dan Peleg 2021-05-02 17:10:40 +03:00
parent 784aba53b2
commit 024afaba7c
10 changed files with 122 additions and 9 deletions

View file

@ -814,7 +814,7 @@ func Setup(
if r := rateLimits.rateLimit(req); r != nil {
return *r
}
return SetPushersByLocalpart(req, userAPI, device)
return SetPusherByLocalpart(req, userAPI, device)
}),
).Methods(http.MethodPost, http.MethodOptions)