mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-14 02:52:42 +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{
|
register(plugins.HTTPRouteRegistrationArgs{
|
||||||
Description: "Updates quote with given {idx} from {channel}",
|
Description: "Updates quote with given {idx} from {channel}",
|
||||||
HandlerFunc: handleDeleteQuote,
|
HandlerFunc: handleUpdateQuote,
|
||||||
Method: http.MethodPut,
|
Method: http.MethodPut,
|
||||||
Module: "quotedb",
|
Module: "quotedb",
|
||||||
Name: "Update Quote",
|
Name: "Update Quote",
|
||||||
|
|
Loading…
Reference in a new issue