Browse Source

removed old code

kaori 4 years ago
parent
commit
538ac3dae6
1 changed files with 0 additions and 6 deletions
  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) {
-      return {
-        response_action: 'errors',
-        errors: {
-          growiUrl: 'Please enter a valid URL',
-        },
-      };
       await client.chat.postEphemeral({
         channel,
         user: payload.user.id,