Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private async createRealmCards() {
- const realms = await this.getRealms();
- let options = {};
- realms.forEach(realm => {
- options = {
- id: realm.id,
- objectKey: realm.key,
- name: realm.name,
- slug: realm.slug
- }
- this.realmService.add(options);
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement