mirror of
https://github.com/appwrite/appwrite
synced 2026-05-18 06:29:06 +00:00
Fix CSV import bug
This commit is contained in:
parent
13c9f79b3d
commit
08806afb38
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ class XList extends Action
|
|||
|
||||
$queries = Query::parseQueries($queries);
|
||||
$queries[] = Query::equal('resourceType', ["files"]);
|
||||
$queries[] = Query::equal('resourceId', [$bucket->getInternalId() . ':' . $file->getInternalId()]);
|
||||
$queries[] = Query::equal('resourceInternalId', [$bucket->getInternalId() . ':' . $file->getInternalId()]);
|
||||
// Get cursor document if there was a cursor query
|
||||
$cursor = \array_filter($queries, function ($query) {
|
||||
return \in_array($query->getMethod(), [Query::TYPE_CURSOR_AFTER, Query::TYPE_CURSOR_BEFORE]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue