api/graph: Fix webhook subscription name

This commit is contained in:
Adnan Maolood 2022-05-23 13:14:46 -04:00 committed by Drew DeVault
parent 7d65b3653c
commit f299d2f9a9
1 changed files with 1 additions and 1 deletions

View File

@ -3266,7 +3266,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).