mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-29 11:51:51 +00:00
feat: Make sure to trim down parameters before fetching github PRs, b=no-bug, c=folders
This commit is contained in:
@@ -143,7 +143,7 @@ export class nsGithubLiveFolderProvider extends nsZenLiveFolderProvider {
|
||||
}
|
||||
}
|
||||
|
||||
searchParams.set("q", outputString);
|
||||
searchParams.set("q", outputString.trim().replace(/ +(?= )/g, ""));
|
||||
return searchParams.toString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user