add new method to amo repo
This commit is contained in:
parent
8d81ca1f33
commit
94595c15b5
@ -789,3 +789,12 @@ func (r *AmoRepository) UpdateUTMs(ctx context.Context, utms []model.UTM) error
|
|||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (r *AmoRepository) UpdateUtmsFields(ctx context.Context, ids []int32) error {
|
||||||
|
err := r.queries.UpdateUtmsFields(ctx, ids)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user