Skip to content

Commit

Permalink
fix: fix viem signer issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman035 committed Dec 18, 2023
1 parent df0917b commit cb68734
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/restapi/src/lib/pushapi/PushAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ export class PushAPI {
if (
args.length === 1 &&
typeof args[0] === 'object' &&
'account' in args[0]
'account' in args[0] &&
typeof args[0].account === 'string'
) {
// Single options object provided
options = args[0];
Expand Down

0 comments on commit cb68734

Please sign in to comment.