[quotedb] Fix: Update method should not delete quote

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-10-22 01:15:40 +02:00
parent 0f5dc7ba8e
commit 0e6432c32c
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -82,7 +82,7 @@ func registerAPI(register plugins.HTTPRouteRegistrationFunc) {
register(plugins.HTTPRouteRegistrationArgs{
Description: "Updates quote with given {idx} from {channel}",
HandlerFunc: handleDeleteQuote,
HandlerFunc: handleUpdateQuote,
Method: http.MethodPut,
Module: "quotedb",
Name: "Update Quote",