Changeset 0.29.0 (#195)
This commit is contained in:
@@ -47,7 +47,7 @@ func setupProfileHarness(t *testing.T) *profileHarness {
|
||||
protected := api.Group("")
|
||||
protected.Use(middleware.Auth(cfg, stores.Users, userCache))
|
||||
|
||||
settings := NewSettingsHandler(nil)
|
||||
settings := NewSettingsHandler(stores, nil)
|
||||
protected.GET("/profile", settings.GetProfile)
|
||||
protected.PUT("/profile", settings.UpdateProfile)
|
||||
protected.POST("/profile/password", settings.ChangePassword)
|
||||
|
||||
Reference in New Issue
Block a user