Skip to content

Commit

Permalink
apply feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Büßemeyer authored and Michael Büßemeyer committed Dec 18, 2024
1 parent d347c58 commit eccfcc7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import urljoin from "url-join";
import "test/mocks/lz4";
import type { PartialDatasetConfiguration } from "oxalis/store";
import path from "node:path";
Expand Down Expand Up @@ -114,7 +115,8 @@ test.before("Retrieve dataset ids", async () => {
3,
async () => {
const options = getDefaultRequestOptions(URL);
const url = `${URL}api/datasets/disambiguate/sample_organization/${datasetName}/toId`;
const path = `/api/datasets/disambiguate/sample_organization/${datasetName}/toId`;
const url = urljoin(URL, path);
const response = await fetch(url, options);
const { id } = await response.json();
datasetNameToId[datasetName] = id;
Expand Down

0 comments on commit eccfcc7

Please sign in to comment.