(ctx context.Context, db database.Store, settings OrganizationSyncSettings)
| 34 | } |
| 35 | |
| 36 | func (s AGPLIDPSync) UpdateOrganizationSyncSettings(ctx context.Context, db database.Store, settings OrganizationSyncSettings) error { |
| 37 | rlv := s.Manager.Resolver(db) |
| 38 | err := s.SyncSettings.Organization.SetRuntimeValue(ctx, rlv, &settings) |
| 39 | if err != nil { |
| 40 | return xerrors.Errorf("update organization sync settings: %w", err) |
| 41 | } |
| 42 | |
| 43 | return nil |
| 44 | } |
| 45 | |
| 46 | func (s AGPLIDPSync) OrganizationSyncSettings(ctx context.Context, db database.Store) (*OrganizationSyncSettings, error) { |
| 47 | // If this logic is ever updated, make sure to update the corresponding |
nothing calls this directly
no test coverage detected