mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
fix for Stripe webhook model lookup
This commit is contained in:
parent
16eec7d10d
commit
dc01d795f3
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ def stripe_get_site_from_event(event)
|
||||||
site_where = {id: desc_split.last}
|
site_where = {id: desc_split.last}
|
||||||
end
|
end
|
||||||
|
|
||||||
site.where(site_where).first
|
Site.where(site_where).first
|
||||||
end
|
end
|
||||||
|
|
||||||
post '/stripe_webhook' do
|
post '/stripe_webhook' do
|
||||||
|
|
Loading…
Add table
Reference in a new issue