mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature] Add GET endpoint for single notification (#1719)
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user