spec/support/fake_api.rb in finapps-5.0.22 vs spec/support/fake_api.rb in finapps-5.0.23
- old
+ new
@@ -26,11 +26,11 @@
end
post("/#{version}/v/record") do
json_response 200, 'verix/record/create.json'
end
- # plaid_webhook
- get("/#{version}/p/webhook") do
+ # plaid_webhook/metadata
+ get("/#{version}/p/metadata") do
tenant_token = request.env['HTTP_X_TENANT_TOKEN']
if tenant_token == 'invalid_tenant_token'
json_response 404, 'invalid_tenant_credentials.json'
else
json_response 200, 'plaid/webhook.json'