fix type in webhooks controller