Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.

Commit 0cf0f58

Browse files
authored
Merge pull request #77 from ProgrammingLab/kp-fix-registration
createErrorの変更に対応
2 parents d58271c + c5be8b0 commit 0cf0f58

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/views/Registration.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,7 @@ export default {
5050
this.registration_token = this.$route.params.token;
5151
await this.verifyRegistrationToken(this.registration_token);
5252
if (this.tokenVerificationError) {
53-
this.createError({
54-
number: this.tokenVerificationError.response.status,
55-
message: this.tokenVerificationError.response.data.message,
56-
});
53+
this.createError(this.tokenVerificationError);
5754
}
5855
},
5956
methods: {

0 commit comments

Comments
 (0)