Skip to content

Commit

Permalink
fix(remote): getState not properly setting evalTo in http requests
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Mar 27, 2024
1 parent 66cc242 commit 55745c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/common/contracts/remote-contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ export class RemoteContract<T> implements BaseContract<T>, ReadContract {
{ state: T }
>({
endpoint: ``,
params: evaluationOptions?.evalTo,
params: {
...evaluationOptions?.evalTo,
},
});
return state;
}
Expand Down

0 comments on commit 55745c1

Please sign in to comment.