Skip to content

Commit

Permalink
[FIX] Property "permission" in slash commands of custom apps (#14739) (
Browse files Browse the repository at this point in the history
  • Loading branch information
ifantom authored and sampaiodiego committed Sep 20, 2019
1 parent 0be1a0b commit 0ba28fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/apps/server/bridges/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export class AppCommandsBridge {
command: command.command.toLowerCase(),
params: Utilities.getI18nKeyForApp(command.i18nParamsExample, appId),
description: Utilities.getI18nKeyForApp(command.i18nDescription, appId),
permission: command.permission,
callback: this._appCommandExecutor.bind(this),
providesPreview: command.providesPreview,
previewer: !command.previewer ? undefined : this._appCommandPreviewer.bind(this),
Expand Down

0 comments on commit 0ba28fc

Please sign in to comment.