mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
ci: add go lint and race test workflow (#187)
This commit is contained in:
@@ -75,7 +75,7 @@ type TokenUsageResponse struct {
|
||||
// @Failure 400 {object} ErrorResponse
|
||||
// @Failure 403 {object} ErrorResponse
|
||||
// @Failure 500 {object} ErrorResponse
|
||||
// @Router /bots/{bot_id}/token-usage [get]
|
||||
// @Router /bots/{bot_id}/token-usage [get].
|
||||
func (h *TokenUsageHandler) GetTokenUsage(c echo.Context) error {
|
||||
userID, err := RequireChannelIdentityID(c)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user