Commit abca9aa8 authored by Wei Han's avatar Wei Han

code update

parent 3995f152
...@@ -116,24 +116,24 @@ ...@@ -116,24 +116,24 @@
NSLog(@"ClientCode: %@", self.ClientCode); NSLog(@"ClientCode: %@", self.ClientCode);
NSLog(@"user_token: %@", self.user_token); NSLog(@"user_token: %@", self.user_token);
// [self showLoadingOverlay:@"Loading..."]; [self showLoadingOverlay:@"Loading..."];
//
// if (![self isReadyToLoadDashboard]) { if (![self isReadyToLoadDashboard]) {
// NSLog(@"⏳ Waiting for all credentials to be ready..."); NSLog(@"⏳ Waiting for all credentials to be ready...");
// return; return;
// } }
//
// if (_isLoadingDashboard) return; if (_isLoadingDashboard) return;
//
// self.isLoadingDashboard = YES; self.isLoadingDashboard = YES;
//
// NSLog(@"✅ All credentials ready. ClientID: %@, ClientCode: %@, user_token: %@", NSLog(@"✅ All credentials ready. ClientID: %@, ClientCode: %@, user_token: %@",
// self.ClientID, self.ClientCode, self.user_token); self.ClientID, self.ClientCode, self.user_token);
//
//
// [APIConfig setAuthTokem:self.user_token]; [APIConfig setAuthTokem:self.user_token];
// [APIConfig setClientId:self.ClientID]; [APIConfig setClientId:self.ClientID];
self.ClientCode = @"spt"; // self.ClientCode = @"spt";
[self requestCompanyCode]; [self requestCompanyCode];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment