@Summary Get current user info @Schemes @Description @Accept json @Produce json @Success 200 {object} object "user info" @Router /luma/users/me [get]
(c *gin.Context)
| 134 | // @Success 200 {object} object "user info" |
| 135 | // @Router /luma/users/me [get] |
| 136 | func Me(c *gin.Context) { |
| 137 | res, err := getMe() |
| 138 | if err != nil { |
| 139 | WrapperLumaError(c, err, http.StatusInternalServerError) |
| 140 | return |
| 141 | } |
| 142 | c.JSON(http.StatusOK, res) |
| 143 | } |
| 144 | |
| 145 | // @Summary Get current user subscription usage |
| 146 | // @Schemes |
nothing calls this directly
no test coverage detected