undo
This commit is contained in:
+1
-1
@@ -197,7 +197,7 @@ func HandleMe(c *gin.Context) {
|
|||||||
int(u.ID),
|
int(u.ID),
|
||||||
u.UpdatedAt.Format(time.RFC3339),
|
u.UpdatedAt.Format(time.RFC3339),
|
||||||
u.Name,
|
u.Name,
|
||||||
u.Token[:15] + "*****" + u.Token[len(u.Token)-15:],
|
u.Token,
|
||||||
u.CreatedAt.Format(time.RFC3339),
|
u.CreatedAt.Format(time.RFC3339),
|
||||||
}
|
}
|
||||||
c.JSON(http.StatusOK, resJSON)
|
c.JSON(http.StatusOK, resJSON)
|
||||||
|
|||||||
Reference in New Issue
Block a user