️ improve: Prohibit users from deleting accounts (#132)

This commit is contained in:
MartialBE
2024-03-30 19:49:42 +08:00
parent a3503ba3d9
commit 89a84e2386
4 changed files with 39 additions and 67 deletions

View File

@@ -42,7 +42,7 @@ func SetApiRouter(router *gin.Engine) {
selfRoute.GET("/dashboard", controller.GetUserDashboard)
selfRoute.GET("/self", controller.GetSelf)
selfRoute.PUT("/self", controller.UpdateSelf)
selfRoute.DELETE("/self", controller.DeleteSelf)
// selfRoute.DELETE("/self", controller.DeleteSelf)
selfRoute.GET("/token", controller.GenerateAccessToken)
selfRoute.GET("/aff", controller.GetAffCode)
selfRoute.POST("/topup", controller.TopUp)