Skip to content

Commit

Permalink
fix(server/twitter): maybe workaround for mysql 8.0.22
Browse files Browse the repository at this point in the history
  • Loading branch information
itschip committed Mar 24, 2022
1 parent 165c90e commit 14c82ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/server/twitter/twitter.db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ export class _TwitterDB {
const [results] = await DbInterface._rawExec(query, [
profileId,
profileId,
TWEETS_PER_PAGE,
offset,
TWEETS_PER_PAGE.toString(),
offset.toString(),
]);
const tweets = <Tweet[]>results;
return tweets.map(formatTweets(profileId));
Expand Down

0 comments on commit 14c82ee

Please sign in to comment.