Skip to content

Commit a61d04e

Browse files
lunnywolfogre
andauthored
Update models/webhook/webhook_system.go
Co-authored-by: Jason Song <[email protected]>
1 parent 1044c2e commit a61d04e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/webhook/webhook_system.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func GetSystemOrDefaultWebhook(ctx context.Context, id int64) (*Webhook, error)
2828
if err != nil {
2929
return nil, err
3030
} else if !has {
31-
return nil, ErrWebhookNotExist{id}
31+
return nil, ErrWebhookNotExist{ID: id}
3232
}
3333
return webhook, nil
3434
}

0 commit comments

Comments
 (0)