Skip to content

Commit be27662

Browse files
committed
Fix typo in README.md
From `timestampFromId` to `timestampFromID`
1 parent 8c96f7a commit be27662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Get the timestamp of creation of the ID can be extracted by using this method. T
6161
...
6262

6363
// Pass the custom epoch that was used to generate this ID
64-
const ts = Snowflake.timestampFromId(id, uid.customEpoch());
64+
const ts = Snowflake.timestampFromID(id, uid.customEpoch());
6565

6666
console.log(ts) // Timestamp of creation of the id
6767

0 commit comments

Comments
 (0)