fix subscribe request

This commit is contained in:
Rimian Perkins
2019-10-29 14:15:13 +11:00
parent 7edb0fe39b
commit 2a985ae554
4 changed files with 15 additions and 2 deletions
@@ -13,8 +13,9 @@ export default Discourse.Route.extend({
};
const plans = Plan.findAll().then(results =>
results.map(p => planSelectText(p))
results.map(p => ({ id: p.id, name: planSelectText(p) }))
);
const subscription = Subscription.create();
return Ember.RSVP.hash({ plans, subscription });