Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. private async createRealmCards() {
  2. const realms = await this.getRealms();
  3.  
  4. let options = {};
  5. realms.forEach(realm => {
  6. options = {
  7. id: realm.id,
  8. objectKey: realm.key,
  9. name: realm.name,
  10. slug: realm.slug
  11. }
  12. this.realmService.add(options);
  13. });
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement