Skip to content

Commit 64323e3

Browse files
committed
Typo
1 parent b1d4f1d commit 64323e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/lists-of-data.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function socialListenChildren() {
2222
function setCommentValues(el, key, text, author) {};
2323
function deleteComment(el, key) {};
2424

25-
// [START rtb_social_listen_children]
25+
// [START rtdb_social_listen_children]
2626
var commentsRef = firebase.database().ref('post-comments/' + postId);
2727
commentsRef.on('child_added', (data) => {
2828
addCommentElement(postElement, data.key, data.val().text, data.val().author);
@@ -35,7 +35,7 @@ function socialListenChildren() {
3535
commentsRef.on('child_removed', (data) => {
3636
deleteComment(postElement, data.key);
3737
});
38-
// [END rtb_social_listen_children]
38+
// [END rtdb_social_listen_children]
3939
}
4040

4141
function socialListenValue() {

0 commit comments

Comments
 (0)