Skip to content

Commit a541641

Browse files
committed
fix(project): simplify rate limit settings validation check
1 parent 2b140b7 commit a541641

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/resolvers/project.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ module.exports = {
199199
}
200200

201201
// Validate rate limit settings if provided
202-
if (!!rateLimitSettings) {
202+
if (rateLimitSettings) {
203203
const { N, T } = rateLimitSettings;
204204

205205
// Validate that N and T exist

0 commit comments

Comments
 (0)