admin: Fix generator return format (was base64 bytes)

This commit is contained in:
nemunaire 2023-10-22 18:08:00 +02:00
parent 4b03f0befd
commit 7573717f71

View File

@ -94,7 +94,7 @@ func fullGeneration(c *gin.Context) {
v, _ := io.ReadAll(resp.Body)
c.JSON(resp.StatusCode, gin.H{
"errmsg": v,
"errmsg": string(v),
})
}