new file: begushiybashkir/bbvue/public/images/locations/1mayPark.webp
new file: begushiybashkir/bbvue/public/images/locations/dinamo.jpg new file: begushiybashkir/bbvue/public/images/locations/riverSide.jpeg modified: begushiybashkir/bbvue/src/views/Training.vue modified: serv_nginx/api_bb/internal/handlers/handler_util.go modified: serv_nginx/api_bb/internal/handlers/user.go modified: serv_nginx/api_bb/internal/routes/routes.go modified: serv_nginx/api_bb/internal/service/auth_service.go modified: serv_nginx/api_bb/internal/service/user_service.go add photo location into trainings page
This commit is contained in:
@@ -2,7 +2,6 @@ package handlers
|
||||
|
||||
import (
|
||||
"api_bb/internal/models"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// Общая функция для преобразования User в UserResponse
|
||||
@@ -21,8 +20,3 @@ func toUserResponse(user *models.User) UserResponse {
|
||||
UpdatedAt: user.UpdatedAt,
|
||||
}
|
||||
}
|
||||
|
||||
// Обработчик для OPTIONS запросов
|
||||
func (h *UserHandler) handleOptions(w http.ResponseWriter, r *http.Request) {
|
||||
w.WriteHeader(http.StatusOK)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user