api/webhooks: Fix deletion error message for tickets

This commit is contained in:
Thorben Günther 2022-06-02 15:41:14 +02:00 committed by Drew DeVault
parent 0da003766d
commit 0bb9ef9657
1 changed files with 1 additions and 1 deletions

View File

@ -2328,7 +2328,7 @@ func (r *mutationResolver) DeleteTicketWebhook(ctx context.Context, id int) (mod
return nil
}); err != nil {
if err == sql.ErrNoRows {
return nil, fmt.Errorf("No tracker webhook by ID %d found for this user", id)
return nil, fmt.Errorf("No ticket webhook by ID %d found for this user", id)
}
return nil, err
}