Currently, trying to edit a newsletter causes firebase requests to documents that do not exist, with randomly generated uid, as the code uses the same NewsletterEntity as the one for creating newsletters, with a default initialised id (randomly generated).
Currently, trying to edit a newsletter causes firebase requests to documents that do not exist, with randomly generated uid, as the code uses the same
NewsletterEntity
as the one for creating newsletters, with a default initialised id (randomly generated).We have to somehow retrieve the id of the currently edited newsletter.