mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-02-27 14:29:39 +00:00
14 lines
342 B
JavaScript
14 lines
342 B
JavaScript
export default function(helpers) {
|
|
const { response } = helpers;
|
|
|
|
this.get("/patrons", () => response({ email: "hello@example.com" }));
|
|
|
|
this.get("/groups/:plan", () => {
|
|
return response({ full_name: "Saboo", bio_cooked: "This is the plan" });
|
|
});
|
|
|
|
this.get("/patrons/plans", () => {
|
|
return response({ plans: [] });
|
|
});
|
|
}
|