Fix wrong nil check for SkipBz2

This commit is contained in:
Benj Fassbind
2022-08-11 10:49:51 +02:00
parent abf8abb59b
commit af899149c7
+1 -1
View File
@@ -211,7 +211,7 @@ func apiPublishRepoOrSnapshot(c *gin.Context) {
}
published.SkipBz2 = context.Config().SkipBz2Publishing
if b.SkipContents != nil {
if b.SkipBz2 != nil {
published.SkipBz2 = *b.SkipBz2
}