Fix update api url

This commit is contained in:
Anders Roos 2022-11-15 22:12:31 +01:00
parent fd658f0f30
commit adb97f7ed0

View file

@ -95,7 +95,7 @@ export const check = async (containerId: string): Promise<CheckResponse> => {
};
export const update = async (images?: string[]): Promise<boolean> => {
let updateUrl = new URL(apiBasePath + "/update");
let updateUrl = new URL(apiBasePath + "update");
if (images instanceof Array) {
images.map((image) => updateUrl.searchParams.append("image", image));