Skip to content

Commit

Permalink
fix(ant): fix API for getRecords
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Apr 10, 2024
1 parent a7f8d01 commit c714aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/ant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class ANT implements ANTContract, BaseContract<ANTState> {
evaluationOptions,
}: {
evaluationOptions?: EvaluationOptions | Record<string, never> | undefined;
}): Promise<Record<string, ANTRecord>> {
} = {}): Promise<Record<string, ANTRecord>> {
const state = await this.contract.getState({ evaluationOptions });
return state.records;
}
Expand Down

0 comments on commit c714aa3

Please sign in to comment.