diff --git a/src/components/ImageChooser/CreateRepo.svelte b/src/components/ImageChooser/CreateRepo.svelte index 84a2a7f..9f5814a 100644 --- a/src/components/ImageChooser/CreateRepo.svelte +++ b/src/components/ImageChooser/CreateRepo.svelte @@ -53,7 +53,7 @@ } ); repo = await res.json(); - if (res.status != 200) { + if (!res.ok) { log += "Repo creation failed: \n"; log += JSON.stringify(repo); log += "\n";