Skip to content

Commit 8b02336

Browse files
Build an App with Firebase
1 parent 1a4a8ab commit 8b02336

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

01-getting-started-with-angular2/final-project/db-data.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
export const dbData = {
2-
"admins": [
3-
{
4-
email:"BooMcGee@mailinator.com"
5-
}
6-
],
72
"courses": [
83
{
94
"url": "getting-started-with-angular2",

01-getting-started-with-angular2/final-project/populate-db.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,7 @@ dbData.courses.forEach( course => {
6060
});
6161

6262

63-
const adminsRef = database().ref('admins');
6463

65-
dbData.admins.forEach(admin => {
66-
67-
adminsRef.push(admin.email);
68-
69-
});
7064

7165

7266

0 commit comments

Comments
 (0)