diff --git a/app/lib/services/restApi.ts b/app/lib/services/restApi.ts index c58d7d3b..04531805 100644 --- a/app/lib/services/restApi.ts +++ b/app/lib/services/restApi.ts @@ -688,7 +688,7 @@ export const runSlashCommand = (command: string, roomId: string, params: string, roomId, params, triggerId, - tmid + ...(tmid && { tmid }) }); export const getCommandPreview = (command: string, roomId: string, params: string) =>