diff options
Diffstat (limited to 'src/api/endpoints/drive/folders.ts')
| -rw-r--r-- | src/api/endpoints/drive/folders.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/drive/folders.ts b/src/api/endpoints/drive/folders.ts index 3f4a5bac0e..45c0117ba0 100644 --- a/src/api/endpoints/drive/folders.ts +++ b/src/api/endpoints/drive/folders.ts @@ -31,7 +31,7 @@ module.exports = (params, user, app) => if (maxIdErr) return rej('invalid max_id param'); // Check if both of since_id and max_id is specified - if (sinceId !== null && maxId !== null) { + if (sinceId && maxId) { return rej('cannot set since_id and max_id'); } |