Skip to content

Commit a4690c4

Browse files
committed
front-755 add getWizardSteps fn
1 parent 783bde5 commit a4690c4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/model/Organization.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,4 +267,12 @@ export class Organization extends Ressource {
267267
});
268268
return organizationSubscription.save();
269269
}
270+
271+
async getWizardSteps(params: { template: string }) {
272+
const { api_url } = getConfig();
273+
274+
const url = `${api_url}/organizations/${this.id}/setup/wizard/${params.template}`;
275+
276+
return authenticatedRequest(url, "GET");
277+
}
270278
}

0 commit comments

Comments
 (0)