Skip to content

Commit

Permalink
Small change to rename the collection name of firestore
Browse files Browse the repository at this point in the history
  • Loading branch information
1HazArd1 committed Mar 1, 2022
1 parent 7dd1220 commit 6e8e3ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/src/main/java/com/hazard/samarpan/Main2Activity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class Main2Activity : AppCompatActivity() {
finish()
}
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class UserRegisterFragment : Fragment() {
).show()

//collecting the user data from the app with the help of the below method
val documentReference :DocumentReference=db.collection("donors").document(
val documentReference :DocumentReference=db.collection("users").document(
user?.uid ?: ""
)
val donorInfo: MutableMap<String, Any> = HashMap()
Expand Down

0 comments on commit 6e8e3ba

Please sign in to comment.