Skip to content

Commit 8343b88

Browse files
authored
Fix crypto SnapshotInfo field name (#101)
The interface `SnapshotInfo` currently defines a field `todayChangePerc` which I believe is a typo and should be `todaysChangePerc`. https://polygon.io/docs/crypto/get_v2_snapshot_locale_global_markets_crypto_tickers
1 parent a52aa82 commit 8343b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rest/crypto/snapshots.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface SnapshotInfo {
4343
prevDay?: SnapshotPrevDay;
4444
ticker?: string;
4545
todaysChange?: number;
46-
todayChangePerc?: number;
46+
todaysChangePerc?: number;
4747
updated?: number;
4848
}
4949

0 commit comments

Comments
 (0)