zahmis 5 anni fa
parent
commit
dbf386fbc1
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      packages/slack/src/utils/slash-command-parser.ts

+ 2 - 2
packages/slack/src/utils/slash-command-parser.ts

@@ -12,7 +12,7 @@ export const parse = (slashCommand: SlashCommand): GrowiCommand => {
 
   return {
     text: slashCommand.text,
-    growiCommandType: 'hoge',
-    growiCommandArgs: ['fugo'],
+    growiCommandType: splitted[0],
+    growiCommandArgs: splitted.slice(1),
   };
 };