feat: update users
This commit is contained in:
parent
74da9d3e90
commit
8a30851895
|
|
@ -197,7 +197,7 @@ func (_i *feedbacksController) Delete(c *fiber.Ctx) error {
|
||||||
// FeedbackMonthlyStats Feedbacks
|
// FeedbackMonthlyStats Feedbacks
|
||||||
// @Summary FeedbackMonthlyStats Feedbacks
|
// @Summary FeedbackMonthlyStats Feedbacks
|
||||||
// @Description API for FeedbackMonthlyStats of Feedbacks
|
// @Description API for FeedbackMonthlyStats of Feedbacks
|
||||||
// @Tags Articles
|
// @Tags Feedbacks
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param year query int false "year"
|
// @Param year query int false "year"
|
||||||
|
|
|
||||||
|
|
@ -415,8 +415,9 @@ func (_i *usersService) EmailValidationPreLogin(req request.UserEmailValidationR
|
||||||
return nil, fmt.Errorf("username / password incorrect")
|
return nil, fmt.Errorf("username / password incorrect")
|
||||||
}
|
}
|
||||||
|
|
||||||
isTrue := true
|
_i.Log.Info().Interface("data user", findUser).Msg("")
|
||||||
if findUser.IsEmailUpdated != &isTrue {
|
|
||||||
|
if *findUser.IsEmailUpdated != true {
|
||||||
message := "Continue to setup email"
|
message := "Continue to setup email"
|
||||||
msgResponse = &message
|
msgResponse = &message
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -4852,7 +4852,7 @@ const docTemplate = `{
|
||||||
],
|
],
|
||||||
"description": "API for FeedbackMonthlyStats of Feedbacks",
|
"description": "API for FeedbackMonthlyStats of Feedbacks",
|
||||||
"tags": [
|
"tags": [
|
||||||
"Articles"
|
"Feedbacks"
|
||||||
],
|
],
|
||||||
"summary": "FeedbackMonthlyStats Feedbacks",
|
"summary": "FeedbackMonthlyStats Feedbacks",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
|
|
|
||||||
|
|
@ -4841,7 +4841,7 @@
|
||||||
],
|
],
|
||||||
"description": "API for FeedbackMonthlyStats of Feedbacks",
|
"description": "API for FeedbackMonthlyStats of Feedbacks",
|
||||||
"tags": [
|
"tags": [
|
||||||
"Articles"
|
"Feedbacks"
|
||||||
],
|
],
|
||||||
"summary": "FeedbackMonthlyStats Feedbacks",
|
"summary": "FeedbackMonthlyStats Feedbacks",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
|
|
|
||||||
|
|
@ -4103,7 +4103,7 @@ paths:
|
||||||
- Bearer: []
|
- Bearer: []
|
||||||
summary: FeedbackMonthlyStats Feedbacks
|
summary: FeedbackMonthlyStats Feedbacks
|
||||||
tags:
|
tags:
|
||||||
- Articles
|
- Feedbacks
|
||||||
/magazine-files:
|
/magazine-files:
|
||||||
get:
|
get:
|
||||||
description: API for getting all MagazineFiles
|
description: API for getting all MagazineFiles
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue