ソースを参照

removed old code

kaori 5 年 前
コミット
538ac3dae6
1 ファイル変更0 行追加6 行削除
  1. 0 6
      packages/slackbot-proxy/src/services/RegisterService.ts

+ 0 - 6
packages/slackbot-proxy/src/services/RegisterService.ts

@@ -63,12 +63,6 @@ export class RegisterService implements GrowiCommandProcessor {
     };
     };
 
 
     if (isUrl(growiUrl) == null) {
     if (isUrl(growiUrl) == null) {
-      return {
-        response_action: 'errors',
-        errors: {
-          growiUrl: 'Please enter a valid URL',
-        },
-      };
       await client.chat.postEphemeral({
       await client.chat.postEphemeral({
         channel,
         channel,
         user: payload.user.id,
         user: payload.user.id,