feat(integrations): align notion authorization
This commit is contained in:
@@ -1579,6 +1579,9 @@ func registerV1Routes(g *gin.RouterGroup, h *Handlers) {
|
||||
macros.POST("/:macro_id/toggle_active", h.Macro.ToggleActive)
|
||||
}
|
||||
|
||||
// Notion OAuth authorization (ref: Chatwoot namespace :notion resource :authorization)
|
||||
accountScoped.POST("/notion/authorization", middleware.RoleCheck("administrator"), h.NotionIntegration.Authorization)
|
||||
|
||||
// G16: Third-party Integrations — IntegrationHook CRUD + Slack/Shopify/Linear/Notion
|
||||
// Reference: Chatwoot namespace :integrations under :account
|
||||
integrations := accountScoped.Group("/integrations")
|
||||
|
||||
Reference in New Issue
Block a user