From 3c2ac3522c98a9cb683aa256d23197c0db378165 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sat, 17 Dec 2016 01:44:18 +0100 Subject: [PATCH] cmd/stcli: Update for new folder type --- cmd/stcli/cmd_folders.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/stcli/cmd_folders.go b/cmd/stcli/cmd_folders.go index 7a696f993..4eb2a3e9c 100644 --- a/cmd/stcli/cmd_folders.go +++ b/cmd/stcli/cmd_folders.go @@ -148,7 +148,7 @@ func foldersOverride(c *cli.Context) { cfg := getConfig(c) rid := c.Args()[0] for _, folder := range cfg.Folders { - if folder.ID == rid && folder.Type == config.FolderTypeReadOnly { + if folder.ID == rid && folder.Type == config.FolderTypeSendOnly { response := httpPost(c, "db/override", "") if response.StatusCode != 200 { err := fmt.Sprint("Failed to override changes\nStatus code: ", response.StatusCode)