chore: Add specs for stripe Webhooks endpoint (#5087)

This commit is contained in:
Sojan Jose
2022-07-22 11:46:31 +02:00
committed by GitHub
parent a946c06fc4
commit 8acba37baf
4 changed files with 89 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
class Enterprise::Api::V1::Webhooks::StripeController < ActionController::API
class Enterprise::Webhooks::StripeController < ActionController::API
def process_payload
# Get the event payload and signature
payload = request.body.read