diff options
author | Anton Tananaev <anton@traccar.org> | 2023-12-16 07:31:42 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-12-16 07:31:42 -0800 |
commit | fa71241a3c93f1210e5f30fc4195477ad35986ae (patch) | |
tree | 09efda75b355b19fe547a6119b1795ebc54ec6db /src/main/java | |
parent | 82b53e48e55cbbe55de152b1b9e63ccc4bb80d04 (diff) | |
download | trackermap-server-fa71241a3c93f1210e5f30fc4195477ad35986ae.tar.gz trackermap-server-fa71241a3c93f1210e5f30fc4195477ad35986ae.tar.bz2 trackermap-server-fa71241a3c93f1210e5f30fc4195477ad35986ae.zip |
Rename method
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/api/resource/ServerResource.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/api/resource/ServerResource.java b/src/main/java/org/traccar/api/resource/ServerResource.java index 1d88e5abc..1ef2a6c33 100644 --- a/src/main/java/org/traccar/api/resource/ServerResource.java +++ b/src/main/java/org/traccar/api/resource/ServerResource.java @@ -136,7 +136,7 @@ public class ServerResource extends BaseResource { @Path("file/{path}") @POST @Consumes("*/*") - public Response uploadImage(@PathParam("path") String path, File inputFile) throws IOException, StorageException { + public Response uploadFile(@PathParam("path") String path, File inputFile) throws IOException, StorageException { permissionsService.checkAdmin(getUserId()); String root = config.getString(Keys.WEB_OVERRIDE, config.getString(Keys.WEB_PATH)); |