mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
file changes
This commit is contained in:
@@ -12,7 +12,7 @@ export const fileSearcher = (async (query: string) => {
|
||||
|
||||
const { files } = await sdk.forProject.storage.listFiles(
|
||||
$bucket.$id,
|
||||
[Query.orderDesc('$createdAt')],
|
||||
[Query.orderDesc('')],
|
||||
query || undefined
|
||||
);
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import type { Searcher } from '../commands';
|
||||
export const projectsSearcher = (async (query: string) => {
|
||||
const { projects } = await sdk.forConsole.projects.list([
|
||||
Query.equal('teamId', get(organization).$id),
|
||||
Query.orderDesc('$createdAt')
|
||||
Query.orderDesc('')
|
||||
]);
|
||||
|
||||
return projects
|
||||
|
||||
Reference in New Issue
Block a user