mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Fix linter
This commit is contained in:
1 parent
41e8f11245
commit
19209dd2d3
1 file changed
+7
-5
@@ -43,11 +43,13 @@ export const load: PageLoad = async ({ params, parent }) => {
|
||||
|
||||
const queries: string[] = [];
|
||||
|
||||
if(usage.projects.length > 0) {
|
||||
queries.push(Query.equal(
|
||||
'$id',
|
||||
usage.projects.map((p) => p.projectId)
|
||||
));
|
||||
if (usage.projects.length > 0) {
|
||||
queries.push(
|
||||
Query.equal(
|
||||
'$id',
|
||||
usage.projects.map((p) => p.projectId)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
const projectNames = await sdk.forConsole.projects.list(queries);
|
||||
|
||||
Reference in new issue
Block a user