FEATURE: Add a webhook for user notifications

If enabled, this will fire a webhook whenever a user's notification has
been created. This could potentially be a lot of data depending on your
forum, and should be used carefully since it includes everything all users
will see in their feeds.
This commit is contained in:
Robin Ward
2019-08-15 14:45:30 -04:00
parent 69498a58e9
commit b4878cde6f
7 changed files with 35 additions and 0 deletions

View File

@@ -44,3 +44,8 @@ WebHookEventType.seed do |b|
b.id = WebHookEventType::REVIEWABLE
b.name = "reviewable"
end
WebHookEventType.seed do |b|
b.id = WebHookEventType::NOTIFICATION
b.name = "notification"
end