UPDATE: Outh2 google
This commit is contained in:
@@ -209,8 +209,8 @@ func (h *UserController) ChangeRoleUser(c fiber.Ctx) error {
|
||||
})
|
||||
}
|
||||
return c.Status(fiber.StatusOK).JSON(response.CommonResponse{
|
||||
Status: true,
|
||||
Data: user,
|
||||
Status: true,
|
||||
Data: user,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -273,4 +273,4 @@ func (h *UserController) Search(c fiber.Ctx) error {
|
||||
})
|
||||
}
|
||||
return c.Status(fiber.StatusOK).JSON(res)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user