Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ getPaymentGroup
Function
getPaymentGroup
app/core/api/payment-group.js:2–2 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
fetchJson = require(
'./fetch-json'
)
2
const
getPaymentGroup = slug => fetchJson(`/db/payments/payment.groups/${slug}`)
3
4
const
getPaymentGroupFromProduct = (productId, couponId) => {
5
if
(couponId) {
Callers
1
fetch
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected