admin: Fix generator return format (was base64 bytes)
This commit is contained in:
parent
4b03f0befd
commit
7573717f71
@ -94,7 +94,7 @@ func fullGeneration(c *gin.Context) {
|
|||||||
|
|
||||||
v, _ := io.ReadAll(resp.Body)
|
v, _ := io.ReadAll(resp.Body)
|
||||||
c.JSON(resp.StatusCode, gin.H{
|
c.JSON(resp.StatusCode, gin.H{
|
||||||
"errmsg": v,
|
"errmsg": string(v),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user