Skip to content

Commit

Permalink
fixed LinksImported email for bitly
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Aug 2, 2023
1 parent 019f70c commit 9c4c265
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/api/cron/import/bitly/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,15 @@ export const importLinksFromBitly = async ({
key: true,
createdAt: true,
},
where: {
domain: {
in: domains,
},
},
take: 5,
orderBy: {
createdAt: "desc",
},
},
},
});
Expand Down

0 comments on commit 9c4c265

Please sign in to comment.