api/graph: Fix webhook delivery name

This commit is contained in:
Adnan Maolood 2022-05-23 13:19:42 -04:00 committed by Drew DeVault
parent 470f1029fc
commit b54049b3d9
1 changed files with 1 additions and 1 deletions

View File

@ -1317,7 +1317,7 @@ func (r *userWebhookSubscriptionResolver) Deliveries(ctx context.Context, obj *m
ReadOnly: true,
}, func(tx *sql.Tx) error {
d := (&model.WebhookDelivery{}).
WithName(`profile`).
WithName(`user`).
As(`delivery`)
query := database.
Select(ctx, d).