feat: return token when calling post /api/token (close #1208)
This commit is contained in:
parent
56ddbb842a
commit
cdfdeea3b4
@ -142,6 +142,7 @@ func AddToken(c *gin.Context) {
|
||||
c.JSON(http.StatusOK, gin.H{
|
||||
"success": true,
|
||||
"message": "",
|
||||
"data": cleanToken,
|
||||
})
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user