fix return fields for addons with indexing priority v2
Cross Compile Go / build (push) Successful in 11m53s
Cross Compile Go / build (push) Successful in 11m53s
This commit is contained in:
1 parent
ade4cf8197
commit
0b3464c563
1 file changed
+1
-1
@@ -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