refactor(gateway): harden plugin http route contracts
This commit is contained in:
@@ -295,6 +295,8 @@ export function createSynologyChatPlugin() {
|
||||
|
||||
const unregister = registerPluginHttpRoute({
|
||||
path: account.webhookPath,
|
||||
auth: "plugin",
|
||||
replaceExisting: true,
|
||||
pluginId: CHANNEL_ID,
|
||||
accountId: account.accountId,
|
||||
log: (msg: string) => log?.info?.(msg),
|
||||
|
||||
Reference in New Issue
Block a user