mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
update: optimize queries.
This commit is contained in:
1 parent
96ecd57f4b
commit
7cf70682a4
1 file changed
+3
-2
@@ -54,8 +54,9 @@
|
||||
const fetchBackupRestores = async () => {
|
||||
try {
|
||||
const query = [
|
||||
Query.notEqual('status', ['failed']),
|
||||
Query.notEqual('status', ['completed'])
|
||||
Query.equal('status', 'pending'),
|
||||
Query.equal('status', 'uploading'),
|
||||
Query.equal('status', 'processing')
|
||||
];
|
||||
|
||||
const [archivesResponse, restorationsResponse] = await Promise.all([
|
||||
|
||||
Reference in new issue
Block a user