aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api/resource/SupportedCommandResource.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/api/resource/SupportedCommandResource.java')
-rw-r--r--src/org/traccar/api/resource/SupportedCommandResource.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/traccar/api/resource/SupportedCommandResource.java b/src/org/traccar/api/resource/SupportedCommandResource.java
index bf4fd4969..097acaa4f 100644
--- a/src/org/traccar/api/resource/SupportedCommandResource.java
+++ b/src/org/traccar/api/resource/SupportedCommandResource.java
@@ -18,7 +18,6 @@ package org.traccar.api.resource;
import org.traccar.Context;
import org.traccar.api.BaseResource;
import org.traccar.model.Position;
-import org.traccar.model.SupportedCommand;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
@@ -32,7 +31,7 @@ import java.util.Collections;
public class SupportedCommandResource extends BaseResource {
@GET
- public Collection<SupportedCommand> get(@QueryParam("deviceId") long deviceId) throws SQLException {
+ public Collection<String> get(@QueryParam("deviceId") long deviceId) throws SQLException {
Context.getPermissionsManager().checkDevice(getUserId(), deviceId);
Position lastPosition = Context.getConnectionManager().getLastPosition(deviceId);
if (lastPosition != null) {