Skip to content

Commit

Permalink
fix: fix viem signer issue (#931)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman035 authored Dec 19, 2023
1 parent df0917b commit f905f40
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 f905f40

Please sign in to comment.