Skip to content

Commit

Permalink
reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenkrishna0512 committed Jul 25, 2022
1 parent b8af4f3 commit c4bef3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/profile_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class _ProfilePageState extends State<ProfilePage> {
Future<Map<String, dynamic>> _getUserData() async {
Map<String, dynamic> userData = <String, dynamic>{};
// get data where 'email' field is = email argument field
await usersCollection.where('email', isEqualTo: currUserEmail).get().then(
await usersCollection.where('email', isEqualTo: widget.email).get().then(
(res) {
print("userData query successful");
userData = res.docs.first.data();
Expand Down

0 comments on commit c4bef3f

Please sign in to comment.