Skip to content

Commit

Permalink
Bug
Browse files Browse the repository at this point in the history
Minor fix:  Error while adding rules in firebase database.
  • Loading branch information
ASVino authored Dec 27, 2018
1 parent 0377bcd commit b2233b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firebase-rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
"contacts": {
"$contact_user_id": {
".write": "auth.uid == $user_id",
".validate": "data.parent().parent().parent().child($blocked_user_id).exists()"
".validate": "data.parent().parent().parent().child($contact_user_id).exists()"
}
},

Expand Down

0 comments on commit b2233b0

Please sign in to comment.