Commit 3414d3c1 authored by Tuan Anh Nguyen's avatar Tuan Anh Nguyen
Browse files

fix: senderId

parent f5cc79e6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -102,8 +102,7 @@ class CreatePostcardNotifier extends ChangeNotifier {
        originLocation: await location,
        destinationLocation: _destination!.name,
        text: text,
        senderId:
            await _authService.userStream.first.then((value) => value!.uid),
        senderId: _authService.currentUser.id,
        timestamp: Timestamp.now(),
      ),
    );