Skip to content

Commit

Permalink
fix(locksmith): fixing linting
Browse files Browse the repository at this point in the history
  • Loading branch information
julien51 committed Mar 12, 2024
1 parent 6d7a9f5 commit 8643904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locksmith/src/utils/middlewares/lockManagerOrPayer.ts
Expand Up @@ -52,8 +52,8 @@ export const lockManagerOrPayerMiddleware: RequestHandler = async (
const isPayer =
receipt?.payer?.toLocaleLowerCase() === userAddress?.toLocaleLowerCase()

// @ts-expect-error error TS2339: Property 'recipient' does not exist on type
const isRecipient =
// @ts-expect-error error TS2339: Property 'recipient' does not exist on type
receipt?.recipient?.toLowerCase() === userAddress?.toLowerCase()

if (!isLockManager && !isPayer && !isRecipient) {
Expand Down

0 comments on commit 8643904

Please sign in to comment.