mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix: invalid query.
This commit is contained in:
1 parent
e0d93a0cd9
commit
346b2c9969
1 file changed
+1
-1
@@ -140,7 +140,7 @@
|
||||
if (allowedExtension === '*') {
|
||||
query.push(Query.startsWith('mimeType', mimeTypeQuery));
|
||||
} else {
|
||||
Query.endsWith('name', `.${allowedExtension}`);
|
||||
query.push(Query.endsWith('name', `.${allowedExtension}`));
|
||||
}
|
||||
|
||||
return query;
|
||||
|
||||
Reference in new issue
Block a user