Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

Commit

Permalink
Typo in result messages
Browse files Browse the repository at this point in the history
  • Loading branch information
GMEC committed Apr 28, 2020
1 parent 82e04c5 commit d5b4315
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions jahia-sites.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ func importSite(info jahiaConnectInfo, file string) {

log.Println("Import site " + info.siteKey)
extraParams := map[string]string{"site": info.siteKey}
_, err := postFile(info, importSiteUrl, extraParams, "file", file)
result, err := postFile(info, importSiteUrl, extraParams, "file", file)
if err != nil {
log.Fatal(err)
}

log.Println("Import successful")
log.Println(result["message"])
}

func remove(info jahiaConnectInfo) {
Expand All @@ -47,5 +47,4 @@ func remove(info jahiaConnectInfo) {
}

log.Println(result["message"])
log.Println("Export successful")
}

0 comments on commit d5b4315

Please sign in to comment.