Currently I am calling them this way, but it creat...
# multiplatform
d
Currently I am calling them this way, but it creates somehow 2 different sessions whenever call the second method:
Copy code
func checkIfUser()
  {
    Task{
          do{
                try await self.repo.getUserProfile().watch() {items in//first method
                    self.myUser = items as! UserInfo
           
                 repo.insertFCMWhenLogin(token: myFCMToken!){error in//second method
                                                             }
k
Can you move these calls to a kind of View model on the kotlin side? So the iOS code only calls one thing?
Also does your second call affect the profile?