feat: complete profile update and settings management

refactor: change profile update endpoints to PUT
refactor: changed profile settings update query to use username
chore: update SQL queries for profile operations
This commit is contained in:
2025-07-23 17:46:59 +03:00
parent f38af13dc1
commit d14f90d628
7 changed files with 130 additions and 38 deletions

View File

@@ -295,7 +295,7 @@ const docTemplate = `{
}
}
},
"patch": {
"put": {
"security": [
{
"JWT": []
@@ -394,7 +394,7 @@ const docTemplate = `{
}
}
},
"patch": {
"put": {
"security": [
{
"JWT": []

View File

@@ -291,7 +291,7 @@
}
}
},
"patch": {
"put": {
"security": [
{
"JWT": []
@@ -390,7 +390,7 @@
}
}
},
"patch": {
"put": {
"security": [
{
"JWT": []

View File

@@ -342,7 +342,7 @@ paths:
summary: Get your profile
tags:
- Profile
patch:
put:
consumes:
- application/json
parameters:
@@ -428,7 +428,7 @@ paths:
summary: Get your profile settings
tags:
- Profile
patch:
put:
consumes:
- application/json
parameters: