Skip to content

Commit

Permalink
Update models/webhook/webhook_system.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Song <i@wolfogre.com>
  • Loading branch information
lunny and wolfogre committed Jan 19, 2023
1 parent 1044c2e commit a61d04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/webhook/webhook_system.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func GetSystemOrDefaultWebhook(ctx context.Context, id int64) (*Webhook, error)
if err != nil {
return nil, err
} else if !has {
return nil, ErrWebhookNotExist{id}
return nil, ErrWebhookNotExist{ID: id}
}
return webhook, nil
}
Expand Down

0 comments on commit a61d04e

Please sign in to comment.