mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: FIX: Correctly parse Mandrill webhooks (#17116)
Mandrill sends webhook messages as a URL-encoded body, with the mandrill_events property as an encoded JSON array.
This commit is contained in:
@@ -142,7 +142,7 @@ RSpec.describe WebhooksController do
|
||||
"message_id" => message_id
|
||||
}
|
||||
}
|
||||
}]
|
||||
}].to_json
|
||||
}
|
||||
|
||||
expect(response.status).to eq(200)
|
||||
|
||||
Reference in New Issue
Block a user