mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-15 01:13:01 -06:00
[feature] Add GET endpoint for single notification (#1719)
This commit is contained in:
parent
fdd2487cfb
commit
8b1e2288d8
4 changed files with 145 additions and 0 deletions
|
|
@ -56,5 +56,6 @@ func New(processor *processing.Processor) *Module {
|
|||
|
||||
func (m *Module) Route(attachHandler func(method string, path string, f ...gin.HandlerFunc) gin.IRoutes) {
|
||||
attachHandler(http.MethodGet, BasePath, m.NotificationsGETHandler)
|
||||
attachHandler(http.MethodGet, BasePathWithID, m.NotificationGETHandler)
|
||||
attachHandler(http.MethodPost, BasePathWithClear, m.NotificationsClearPOSTHandler)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue