fix build and golangci-lint

This commit is contained in:
André Roth
2024-04-24 22:06:11 +02:00
parent 1357d246d8
commit 9ca9569714
3 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -477,13 +477,12 @@ func apiPublishUpdateSwitch(c *gin.Context) {
}
}
<<<<<<< HEAD
result, err := published.Update(collectionFactory, out)
if err != nil {
return &task.ProcessReturnValue{Code: http.StatusInternalServerError, Value: nil}, fmt.Errorf("Unable to update: %s", err)
}
err = published.Publish(context.PackagePool(), context, collectionFactory, signer, out, b.ForceOverwrite)
err = published.Publish(context.PackagePool(), context, collectionFactory, signer, out, b.ForceOverwrite, context.SkelPath())
if err != nil {
return &task.ProcessReturnValue{Code: http.StatusInternalServerError, Value: nil}, fmt.Errorf("Unable to update: %s", err)
}