Preferences: Support Create+Update+Delete over apiserver (#111715)
This commit is contained in:
@@ -272,8 +272,8 @@ func (s *Service) GetDefaults() *pref.Preference {
|
||||
}
|
||||
}
|
||||
|
||||
func (s *Service) DeleteByUser(ctx context.Context, userID int64) error {
|
||||
return s.store.DeleteByUser(ctx, userID)
|
||||
func (s *Service) Delete(ctx context.Context, cmd *pref.DeleteCommand) error {
|
||||
return s.store.Delete(ctx, cmd)
|
||||
}
|
||||
|
||||
func parseCookiePreferences(prefs []pref.CookieType) (map[string]struct{}, error) {
|
||||
|
||||
Reference in New Issue
Block a user