Skip to content

Commit

Permalink
Merge pull request #22 from Diversion2k22/HazArdDonorFirestore
Browse files Browse the repository at this point in the history
Small change to rename the collection name of firestore
  • Loading branch information
1HazArd1 authored Mar 1, 2022
2 parents 72e5b85 + 6e8e3ba commit a1ba9a7
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 a1ba9a7

Please sign in to comment.