We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56cacd7 commit c64bd18Copy full SHA for c64bd18
src/common/rateLimit.ts
@@ -62,6 +62,7 @@ export const ensurePostRateLimit = async (
62
con.getRepository(Post).countBy({
63
authorId: userId,
64
createdAt: MoreThan(subDays(new Date(), 1)),
65
+ deleted: false,
66
}),
67
remoteConfig.vars?.postRateLimit ?? 0,
68
`Take a break. You already posted enough`,
0 commit comments