Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Meldiron committed Dec 19, 2023
1 parent 41e8f11 commit 19209dd
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 19209dd

Please sign in to comment.