add repo methods for lead target

This commit is contained in:
Pavel 2024-06-10 20:08:52 +03:00
parent bfffb1bc3c
commit 3d0ee4560f

@ -392,9 +392,9 @@ func (r *AccountRepository) DeleteLeadTarget(ctx context.Context, id int64) erro
return nil return nil
} }
func (r *AccountRepository) GetLeadTarget(ctx context.Context, id int64) (model.LeadTarget, error) { func (r *AccountRepository) GetLeadTarget(ctx context.Context, accountID string) ([]model.LeadTarget, error) {
return model.LeadTarget{}, nil return []model.LeadTarget{}, nil
} }
func (r *AccountRepository) UpdateLeadTarget(ctx context.Context, req model.LeadTarget) (model.LeadTarget, error) { func (r *AccountRepository) UpdateLeadTarget(ctx context.Context, req model.LeadTarget) (model.LeadTarget, error) {