Firebase - push an object in a nested list of objects
Current attempt:
this.application.userUid = this.uid;
this.application.companyUid = job.uid;
this.application.jobName = job.name;
this.application.jobDescription = job.description;
this.application.jobId = job.id;
this.refApp.child(this.uid).child(job.id).push(this.application);
Currently the object is added but nested too low down. It needs to be like the second object in the list.
uid --> jobid -> then the object.
Here is my database:

Use .set(), instead of .push()
this.refApp.child(this.uid).child(job.id).set(this.application);
However, if you want to generate an id with .push() you can move back one level in the data structure:
this.refApp.child(this.uid).push(this.application);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With