Skip to content

Commit

Permalink
:bug; Remove unused variable
Browse files Browse the repository at this point in the history
Kio-td authored Jul 12, 2024
1 parent 11df222 commit 21b8d4b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -316,7 +316,6 @@ export class AgeVerificationSystem {
*/
private async handleStripeError(
ws: WebSocketType,
data: { code: string },
): Promise<void> {
const errorSession =
await this.stripe.identity.verificationSessions.retrieve(
@@ -389,8 +388,7 @@ export class AgeVerificationSystem {
throw "Unreachable State??";
}
await this.updateUserNote(user, `ADM-ID/Verified - ${session.id}`);
await this.unbanUser(user)
//FIXME: Where's the unbanUser function?!
await this.unbanUser(user);

this.sendMessage(ws, {
type: MessageTypes.VerificationCompleteStep,

0 comments on commit 21b8d4b

Please sign in to comment.