Skip to content

Commit

Permalink
chore: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
devceline committed Apr 24, 2024
1 parent 3f7bd9c commit c4058bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/notify-client/src/controllers/engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1956,7 +1956,6 @@ export class NotifyEngine extends INotifyEngine {
currentStatement: string,
domain: string
) => {

const hasSignedStatement =
this.client.registrationData.keys.includes(account);
if (!hasSignedStatement) {
Expand All @@ -1968,7 +1967,9 @@ export class NotifyEngine extends INotifyEngine {

const signedStatement = this.client.registrationData.get(account);

const isRecapsStatement = new RegExp(`\'manage\'\: \'.*notifications\'`).test(signedStatement.statement)
const isRecapsStatement = new RegExp(
`\'manage\'\: \'.*notifications\'`
).test(signedStatement.statement);

return (
(!isRecapsStatement && signedStatement.statement !== currentStatement) ||
Expand Down

0 comments on commit c4058bf

Please sign in to comment.