mirror of
https://github.com/He4eT/simple-spaceapi.git
synced 2026-05-05 01:47:24 +00:00
SpaceAPI: membership_plans
This commit is contained in:
parent
1b4dc50c6c
commit
a2d07dfa98
1 changed files with 14 additions and 1 deletions
|
|
@ -210,7 +210,20 @@ export default ({ strapi }: { strapi: Core.Strapi }) => ({
|
|||
'name',
|
||||
'description',
|
||||
'url',
|
||||
]))
|
||||
]));
|
||||
}
|
||||
|
||||
/* */
|
||||
|
||||
if (!isEmpty(hackspace.membership_plans)) {
|
||||
result.membership_plans = hackspace.membership_plans
|
||||
.map(pickFields([
|
||||
'name',
|
||||
'value',
|
||||
'currency',
|
||||
'billing_interval',
|
||||
'description',
|
||||
]));
|
||||
}
|
||||
|
||||
/* */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue