mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-06 15:49:30 -06:00
actually attach single emoji get and delete routes
This commit is contained in:
parent
8893355afb
commit
b19257cf90
1 changed files with 2 additions and 0 deletions
|
|
@ -79,6 +79,8 @@ func New(processor processing.Processor) api.ClientModule {
|
||||||
func (m *Module) Route(r router.Router) error {
|
func (m *Module) Route(r router.Router) error {
|
||||||
r.AttachHandler(http.MethodPost, EmojiPath, m.EmojiCreatePOSTHandler)
|
r.AttachHandler(http.MethodPost, EmojiPath, m.EmojiCreatePOSTHandler)
|
||||||
r.AttachHandler(http.MethodGet, EmojiPath, m.EmojisGETHandler)
|
r.AttachHandler(http.MethodGet, EmojiPath, m.EmojisGETHandler)
|
||||||
|
r.AttachHandler(http.MethodDelete, EmojiPathWithID, m.EmojiDELETEHandler)
|
||||||
|
r.AttachHandler(http.MethodGet, EmojiPathWithID, m.EmojiGETHandler)
|
||||||
r.AttachHandler(http.MethodPost, DomainBlocksPath, m.DomainBlocksPOSTHandler)
|
r.AttachHandler(http.MethodPost, DomainBlocksPath, m.DomainBlocksPOSTHandler)
|
||||||
r.AttachHandler(http.MethodGet, DomainBlocksPath, m.DomainBlocksGETHandler)
|
r.AttachHandler(http.MethodGet, DomainBlocksPath, m.DomainBlocksGETHandler)
|
||||||
r.AttachHandler(http.MethodGet, DomainBlocksPathWithID, m.DomainBlockGETHandler)
|
r.AttachHandler(http.MethodGet, DomainBlocksPathWithID, m.DomainBlockGETHandler)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue