I am utilizing Firebase to register links on a website. I'm attempting to pass the uuid in order to create a sub collection, but have been unsuccessful. Any idea what might be causing this issue?
constructor(private af: AngularFirestore) {}
async add(urls: Urls, uuid: string): Promise<void> {
await this.af.collection(`${this.collection}/${uuid.getItem('idCustomer')}/menu`).add({ ...urls });
await this.getUrls(`${this.collection}/${uuid.getItem('idCustomer')}/menu`);
}