private async void TriggerAuthorWebhook(Event triggeringEvent, dynamic changedObject, int userId)
        {
            User userTriggeringHook = await _db.Users
                                      .Where(u => u.UserId == userId)
                                      .FirstOrDefaultAsync();

            try
            {
                await _hooks.Trigger(
                    new WebhookData {
                    Event  = triggeringEvent,
                    User   = UserGetDTO.FromModel(userTriggeringHook),
                    Object = changedObject
                });
            }
            catch (InvalidOperationException exception)
            {
                // Log that there was a bad URL.
                _logger.LogInformation(exception.Message.ToString());
            }
            catch (HttpRequestException exception)
            {
                // Log that the URL didn't accept POST request.
                _logger.LogInformation(exception.Message.ToString());
            }
        }