UPDATE: fix bug
All checks were successful
Build and Release / release (push) Successful in 1m5s

This commit is contained in:
2026-04-18 11:00:52 +07:00
parent 324a91489c
commit 50b975abf6
4 changed files with 0 additions and 40 deletions

View File

@@ -1522,13 +1522,6 @@ const docTemplate = `{
],
"summary": "Update user profile",
"parameters": [
{
"type": "string",
"description": "User ID",
"name": "id",
"in": "path",
"required": true
},
{
"description": "Update Profile request",
"name": "request",
@@ -1648,13 +1641,6 @@ const docTemplate = `{
],
"summary": "Change user password",
"parameters": [
{
"type": "string",
"description": "User ID",
"name": "id",
"in": "path",
"required": true
},
{
"description": "Change Password request",
"name": "request",

View File

@@ -1515,13 +1515,6 @@
],
"summary": "Update user profile",
"parameters": [
{
"type": "string",
"description": "User ID",
"name": "id",
"in": "path",
"required": true
},
{
"description": "Update Profile request",
"name": "request",
@@ -1641,13 +1634,6 @@
],
"summary": "Change user password",
"parameters": [
{
"type": "string",
"description": "User ID",
"name": "id",
"in": "path",
"required": true
},
{
"description": "Change Password request",
"name": "request",

View File

@@ -1380,11 +1380,6 @@ paths:
- application/json
description: Update the profile details of the currently authenticated user
parameters:
- description: User ID
in: path
name: id
required: true
type: string
- description: Update Profile request
in: body
name: request
@@ -1459,11 +1454,6 @@ paths:
- application/json
description: Update the password for the currently authenticated user
parameters:
- description: User ID
in: path
name: id
required: true
type: string
- description: Change Password request
in: body
name: request

View File

@@ -174,7 +174,6 @@ func (h *UserController) GetVerificationByUserID(c fiber.Ctx) error {
// @Accept json
// @Produce json
// @Security BearerAuth
// @Param id path string true "User ID"
// @Param request body request.UpdateProfileDto true "Update Profile request"
// @Success 200 {object} response.CommonResponse
// @Failure 400 {object} response.CommonResponse
@@ -212,7 +211,6 @@ func (h *UserController) UpdateProfile(c fiber.Ctx) error {
// @Accept json
// @Produce json
// @Security BearerAuth
// @Param id path string true "User ID"
// @Param request body request.ChangePasswordDto true "Change Password request"
// @Success 200 {object} response.CommonResponse
// @Failure 400 {object} response.CommonResponse