diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-03-03 20:11:31 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-03-03 20:11:31 +0900 |
| commit | 66eed481ea38200b005fb057be299a18f294a622 (patch) | |
| tree | 850c55a9ce5070004288ae858f7c744d8f3d0b4d /src/api/endpoints/users.ts | |
| parent | Fix bug (diff) | |
| download | sharkey-66eed481ea38200b005fb057be299a18f294a622.tar.gz sharkey-66eed481ea38200b005fb057be299a18f294a622.tar.bz2 sharkey-66eed481ea38200b005fb057be299a18f294a622.zip | |
[API] Fix bug
Diffstat (limited to 'src/api/endpoints/users.ts')
| -rw-r--r-- | src/api/endpoints/users.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/users.ts b/src/api/endpoints/users.ts index 74c4754fed..7f9fa69df8 100644 --- a/src/api/endpoints/users.ts +++ b/src/api/endpoints/users.ts @@ -29,7 +29,7 @@ module.exports = (params, me) => 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'); } |