add webhook repo method
This commit is contained in:
parent
268f16f54d
commit
8f7c74046b
@ -260,9 +260,11 @@ func (r *AmoRepository) GetAllTokens(ctx context.Context) ([]model.Token, error)
|
||||
}
|
||||
|
||||
func (r *AmoRepository) WebhookDelete(ctx context.Context, amoID int) error {
|
||||
|
||||
err := r.queries.WebhookDelete(ctx, int32(amoID))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
|
||||
}
|
||||
|
||||
// методы pipelines
|
||||
|
Loading…
Reference in New Issue
Block a user