mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 16:50:01 +00:00
[quotedb] Fix: Update method should not delete quote
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
0f5dc7ba8e
commit
0e6432c32c
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue