From 7ba247a0feddfe6aa61639fb606e817033547741 Mon Sep 17 00:00:00 2001 From: Simon Hohl Date: Fri, 22 Nov 2024 11:27:38 +0100 Subject: [PATCH] Fix condition --- .../src/main/java/de/uni_koeln/arachne/service/IIPService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/de/uni_koeln/arachne/service/IIPService.java b/backend/src/main/java/de/uni_koeln/arachne/service/IIPService.java index 1d9cf0634..0820d1279 100644 --- a/backend/src/main/java/de/uni_koeln/arachne/service/IIPService.java +++ b/backend/src/main/java/de/uni_koeln/arachne/service/IIPService.java @@ -405,7 +405,7 @@ public ImageProperties getImageProperties(final long entityId, final int request return new ImageProperties(imageName, -1, -1, watermark, HttpStatus.NOT_FOUND); } - if (!arachneId.isDeleted()) { + if (arachneId.isDeleted()) { return new ImageProperties(imageName, -1, -1, watermark, HttpStatus.GONE); }