fix extra slash

This commit is contained in:
Justin Hutchings
2024-03-03 01:21:27 +00:00
parent e16e218fdc
commit f357c751be
3 changed files with 3 additions and 3 deletions
Generated Vendored
+1 -1
View File
@@ -1047,7 +1047,7 @@ function getDepsDevProjectData(projectKeyId) {
return __awaiter(this, void 0, void 0, function* () {
try {
core.debug(`Getting deps.dev project data for ${projectKeyId}`);
const url = `${depsDevAPIRoot}//v3alpha/projects/${encodeURIComponent(projectKeyId)}`;
const url = `${depsDevAPIRoot}/v3alpha/projects/${encodeURIComponent(projectKeyId)}`;
const response = yield fetch(url);
if (response.ok) {
const data = yield response.json();
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -53,7 +53,7 @@ async function getDepsDevProjectData(
): Promise<DepsDevProject> {
try {
core.debug(`Getting deps.dev project data for ${projectKeyId}`)
const url = `${depsDevAPIRoot}//v3alpha/projects/${encodeURIComponent(projectKeyId)}`
const url = `${depsDevAPIRoot}/v3alpha/projects/${encodeURIComponent(projectKeyId)}`
const response = await fetch(url)
if (response.ok) {
const data = await response.json()