Skip to content

Commit

Permalink
fixed small ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
bhivam committed Jun 26, 2024
1 parent dfadeb2 commit 7d2a9d0
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions app/lib/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,21 +173,6 @@ export async function RegisterSelf() {
const session = await auth();
console.log('Register Self');
return;
if (session?.user && session?.user?.email) {
const resp = await SetUser(
{ registration_status: 'registered' },
session.user.email,
);

if (resp.error === '') {
return resp.response;
}
return resp.error;
}

return {
error: 'Something went wrong',
};
}

export async function ConfirmComingOrNot(isComing: boolean): Promise<{
Expand Down

0 comments on commit 7d2a9d0

Please sign in to comment.