We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9cb7ba commit a64cdcdCopy full SHA for a64cdcd
site/src/api/queries/workspaces.ts
@@ -115,7 +115,7 @@ export const autoCreateWorkspace = (queryClient: QueryClient) => {
115
116
async function findMatchWorkspace(q: string): Promise<Workspace | undefined> {
117
try {
118
- const { workspaces } = await API.getWorkspaces({ q });
+ const { workspaces } = await API.getWorkspaces({ q, limit: 1 });
119
const matchWorkspace = workspaces.at(0);
120
if (matchWorkspace) {
121
return matchWorkspace;
0 commit comments