Skip to content

Commit

Permalink
fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffanyvu committed Jan 21, 2025
1 parent c5d7ab0 commit 5230203
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/lambda/submit/splitSPAId.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ export const getNextSplitSPAId = async (spaId: string) => {
const { domain, index } = getDomainAndNamespace("main");
const query = {
regexp: {
id: `${spaId}-[a-zA-Z]`,
id: {
value: `${spaId}-[a-zA-Z]`,
},
},
};
const matchingPackages = await search(domain, index, query);
Expand Down

0 comments on commit 5230203

Please sign in to comment.