We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1044c2e commit a61d04eCopy full SHA for a61d04e
models/webhook/webhook_system.go
@@ -28,7 +28,7 @@ func GetSystemOrDefaultWebhook(ctx context.Context, id int64) (*Webhook, error)
28
if err != nil {
29
return nil, err
30
} else if !has {
31
- return nil, ErrWebhookNotExist{id}
+ return nil, ErrWebhookNotExist{ID: id}
32
}
33
return webhook, nil
34
0 commit comments