瀏覽代碼

modify supportedGrowiCommandsMappings

zahmis 5 年之前
父節點
當前提交
3d2af06e6d
共有 1 個文件被更改,包括 3 次插入8 次删除
  1. 3 8
      packages/slack/src/index.ts

+ 3 - 8
packages/slack/src/index.ts

@@ -5,12 +5,7 @@ export const supportedSlackCommands: string[] = [
 ];
 
 export const supportedGrowiCommandsMappings = {
-  search: 'search',
-  create: 'create',
-  register: 'register',
+  Search: 'search',
+  Create: 'create',
+  Register: 'register',
 };
-
-
-// export const supportedGrowiCommandsAction = {
-//   register: (body:{[key:string]:string}) => openRegisterModal(body),
-// };