mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-23 09:34:24 +01:00
use reactions instead of reaction
This commit is contained in:
@@ -46,7 +46,7 @@ import (
|
||||
// @tag.name Identities
|
||||
// @tag.description List and Trust Identities.
|
||||
|
||||
// @tag.name Reaction
|
||||
// @tag.name Reactions
|
||||
// @tag.description React to messages.
|
||||
|
||||
// @host 127.0.0.1:8080
|
||||
@@ -199,10 +199,10 @@ func main() {
|
||||
typingIndicator.DELETE(":number", api.SendStopTyping)
|
||||
}
|
||||
|
||||
reaction := v1.Group("/reaction")
|
||||
reactions := v1.Group("/reactions")
|
||||
{
|
||||
reaction.POST(":number", api.SendReaction)
|
||||
reaction.DELETE(":number", api.RemoveReaction)
|
||||
reactions.POST(":number", api.SendReaction)
|
||||
reactions.DELETE(":number", api.RemoveReaction)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user