From 593154a7fefaa40a2f508b2d29752fa596e43a63 Mon Sep 17 00:00:00 2001 From: jannikf02 Date: Mon, 12 Aug 2024 23:21:07 +0200 Subject: [PATCH] Fixes typo --- backend/aashub/api/handler/users.go | 2 +- ci/docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/aashub/api/handler/users.go b/backend/aashub/api/handler/users.go index aebd3ff..fa7ea80 100644 --- a/backend/aashub/api/handler/users.go +++ b/backend/aashub/api/handler/users.go @@ -111,7 +111,7 @@ func (h *VerificationHandler) VerifyUser(w http.ResponseWriter, r *http.Request) // @Failure 400 {object} map[string]string "Missing required field(s) or bad request" // @Failure 404 {object} map[string]string "User not found" // @Failure 500 {object} map[string]string "Internal Server Error" -// @Router /login [post] +// @Router /users/login [post] func (h *UserHandler) LoginUser(w http.ResponseWriter, r *http.Request) { // Parse form data err := r.ParseMultipartForm(32 << 20) diff --git a/ci/docker-compose.yml b/ci/docker-compose.yml index a094ec7..1772b17 100644 --- a/ci/docker-compose.yml +++ b/ci/docker-compose.yml @@ -21,7 +21,7 @@ services: container_name: mariadb environment: MYSQL_ROOT_PASSWORD: rootpassword - MYSQL_DATABASE: moviesdb + MYSQL_DATABASE: aashub MYSQL_USER: user MYSQL_PASSWORD: password volumes: