[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:
Gleidson Daniel Silva 2022-09-08 17:58:50 -03:00 committed by GitHub
parent c1a4ddc001
commit f9f13e7fe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) =>