fix return fields for addons with indexing priority v2
All checks were successful
Cross Compile Go / build (push) Successful in 11m53s
All checks were successful
Cross Compile Go / build (push) Successful in 11m53s
This commit is contained in:
@@ -34,7 +34,7 @@ func GetNextToBeIndexed(c *gin.Context) {
|
||||
addon.IndexStartTime = time.Now()
|
||||
initializers.DB.Save(&addon)
|
||||
|
||||
c.JSON(200, gin.H{"guid": addon.ID, "currentVersionId": addon.CurrentVersionNumber})
|
||||
c.JSON(200, gin.H{"guid": addon.ID, "currentVersion": addon.CurrentVersionNumber})
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user