zahmis hace 5 años
padre
commit
dbf386fbc1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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),
   };
 };