Skip to content

Commit

Permalink
fix(records): use state endpoint to fetch records
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusofsparta committed Feb 26, 2024
1 parent 50669e1 commit 2f02c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/caches/arns-remote-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class ArNSRemoteCache implements ContractCache, ArIOContract {
const { records } = await this.http.get<
ArNSStateResponse<'records', Record<string, ArNSNameData>>
>({
endpoint: `/contract/${this.contractTxId.toString()}/records`,
endpoint: `/contract/${this.contractTxId.toString()}/state/records`,
});
return records;
}
Expand Down

0 comments on commit 2f02c53

Please sign in to comment.