summaryrefslogtreecommitdiffstats
path: root/cmd/platform/oldcommands.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/platform/oldcommands.go')
-rw-r--r--cmd/platform/oldcommands.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/platform/oldcommands.go b/cmd/platform/oldcommands.go
index 15ebb25ba..518dcbaaf 100644
--- a/cmd/platform/oldcommands.go
+++ b/cmd/platform/oldcommands.go
@@ -77,7 +77,7 @@ func doLegacyCommands() {
web.InitWeb()
if model.BuildEnterpriseReady == "true" {
- api.LoadLicense()
+ app.LoadLicense()
}
runCmds()
@@ -1002,7 +1002,7 @@ func cmdUploadLicense() {
flushLogAndExit(1)
}
- if _, err := api.SaveLicense(fileBytes); err != nil {
+ if _, err := app.SaveLicense(fileBytes); err != nil {
l4g.Error("%v", err)
flushLogAndExit(1)
} else {