diff --git a/app/controllers/api/database.php b/app/controllers/api/database.php index 1d2b7c9977..633e6f2325 100644 --- a/app/controllers/api/database.php +++ b/app/controllers/api/database.php @@ -1230,7 +1230,6 @@ App::get('/v1/database/collections/:collectionId/documents') throw new Exception($validator->getDescription(), 400); } - $afterDocument = null; if (!empty($after)) { $afterDocument = $dbForExternal->getDocument($collectionId, $after);