Skip to content

Commit

Permalink
chore: forgot to remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
SamCaliman committed Jul 12, 2024
1 parent ee2405a commit d76ae44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/pages/redirect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ onMounted(async ()=>{
if(gitTempCode){
const {error,result} = await aeria.github.auth.POST<Result.Either<EndpointError, SuccessfulAuthentication>>({
code: gitTempCode
}) //this casting 'as any' is necessary only because there's no contract on route
})
if(error){
//if authentication fails, go back to login page
router.push('/githubAuth')
Expand Down

0 comments on commit d76ae44

Please sign in to comment.