diff --git a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java index 23bd4d80..26ddfc1d 100644 --- a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java +++ b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java @@ -329,7 +329,7 @@ public class SyncthingService extends Service { // HACK: Make sure there is no syncthing binary left running from an improper // shutdown (eg Play Store update). // NOTE: This will log an exception if syncthing is not actually running. - new PostTask().execute(mApi.getUrl(), PostTask.URI_SHUTDOWN); + new PostTask().execute(mApi.getUrl(), PostTask.URI_SHUTDOWN, apiKey); registerOnWebGuiAvailableListener(mApi); } new PollWebGuiAvailableTask().execute();