A decentralized music tracking and discovery platform built on AT Protocol 🎵

Specify radix when converting timestamps to string

+4 -4
+1 -1
apps/api/src/xrpc/app/rocksky/graph/getFollowers.ts
··· 88 88 .execute() 89 89 .then((rows) => 90 90 rows.length > 0 91 - ? rows[rows.length - 1]?.createdAt.getTime().toString() 91 + ? rows[rows.length - 1]?.createdAt.getTime().toString(10) 92 92 : undefined, 93 93 ), 94 94 ]),
+1 -1
apps/api/src/xrpc/app/rocksky/graph/getFollows.ts
··· 90 90 .execute() 91 91 .then((rows) => 92 92 rows.length > 0 93 - ? rows[rows.length - 1]?.createdAt.getTime().toString() 93 + ? rows[rows.length - 1]?.createdAt.getTime().toString(10) 94 94 : undefined, 95 95 ), 96 96 ]),
+1 -1
apps/api/src/xrpc/app/rocksky/graph/getKnownFollowers.ts
··· 95 95 knownFollowers.length > 0 96 96 ? knownFollowers[knownFollowers.length - 1].follows.createdAt 97 97 .getTime() 98 - .toString() 98 + .toString(10) 99 99 : undefined; 100 100 return [user, knownFollowers.map((row) => row.users), cursor]; 101 101 },
+1 -1
apps/api/src/xrpc/app/rocksky/graph/unfollowAccount.ts
··· 151 151 })), 152 152 cursor: 153 153 followers.length === 50 154 - ? followers[49].createdAt.getTime().toString() 154 + ? followers[49].createdAt.getTime().toString(10) 155 155 : undefined, 156 156 })); 157 157 };