diff options
author | Anton Tananaev <anton@traccar.org> | 2024-04-04 08:03:16 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-04-04 08:03:16 -0700 |
commit | b099b298f90074c825ba68ce73532933c7b9d901 (patch) | |
tree | b249193f9e24a95a9f616011c84f429d7475329c | |
parent | 1c29f3a604fe13c8a337935a1a1ad966b4b62d5b (diff) | |
download | trackermap-server-b099b298f90074c825ba68ce73532933c7b9d901.tar.gz trackermap-server-b099b298f90074c825ba68ce73532933c7b9d901.tar.bz2 trackermap-server-b099b298f90074c825ba68ce73532933c7b9d901.zip |
Remove extra dot
-rw-r--r-- | src/main/java/org/traccar/api/resource/DeviceResource.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/org/traccar/api/resource/DeviceResource.java b/src/main/java/org/traccar/api/resource/DeviceResource.java index d7236fe2a..2edb0d16d 100644 --- a/src/main/java/org/traccar/api/resource/DeviceResource.java +++ b/src/main/java/org/traccar/api/resource/DeviceResource.java @@ -175,15 +175,15 @@ public class DeviceResource extends BaseObjectResource<Device> { private String imageExtension(String type) { switch (type) { case "image/jpeg": - return ".jpg"; + return "jpg"; case "image/png": - return ".png"; + return "png"; case "image/gif": - return ".gif"; + return "gif"; case "image/webp": - return ".webp"; + return "webp"; case "image/svg+xml": - return ".svg"; + return "svg"; default: throw new IllegalArgumentException("Unsupported image type"); } |