Skip to content

Commit

Permalink
fix object length check
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Long committed Oct 18, 2023
1 parent e1c5792 commit 97c0e9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,7 @@ export class LitNodeClientNodeJs extends LitCore {
log('executeJs responseData', JSON.stringify(responseData, null, 2));

// -- in the case where we are not signing anything on Lit action and using it as purely serverless function
if (responseData[0].success && Object.keys(responseData[0].signedData).length <= 0) {
if (responseData[0].success && Object.keys(responseData[0].signedData).length <= 0 && Object.keys(responseData[0].claimData).length <= 0) {
return responseData[0] as any as ExecuteJsResponse;
}

Expand Down

0 comments on commit 97c0e9c

Please sign in to comment.