[FIX] Remove the tmid parameter when it is empty (#4500)
* add custom fields after register * remove tmid when it is null * wip * wip * wip
This commit is contained in:
parent
c1a4ddc001
commit
f9f13e7fe3
|
@ -688,7 +688,7 @@ export const runSlashCommand = (command: string, roomId: string, params: string,
|
||||||
roomId,
|
roomId,
|
||||||
params,
|
params,
|
||||||
triggerId,
|
triggerId,
|
||||||
tmid
|
...(tmid && { tmid })
|
||||||
});
|
});
|
||||||
|
|
||||||
export const getCommandPreview = (command: string, roomId: string, params: string) =>
|
export const getCommandPreview = (command: string, roomId: string, params: string) =>
|
||||||
|
|
Loading…
Reference in New Issue