fly 2 years ago
parent
commit
e10d6c07bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Service/ConnectService.cs

+ 1 - 1
Service/ConnectService.cs

@@ -113,7 +113,7 @@ namespace WingDeviceService.Service
                     };
                     await _organizationDBService.CreateOrganizationsAsync(new CreateOrganizationsDBRequest { Infos = new List<TableDataItem<OrganizationDTO>> { orgData } });
                 }
-                var applyRequest = new ApplyTokenRequest(AccountType.US, request.Platform, request.LoginSource, deviceCode, _sourceUrl, 0);
+                var applyRequest = new ApplyTokenRequest(AccountType.US, request.Name,request.Platform, request.LoginSource, deviceCode, _sourceUrl, 0);
                 var tokenInfo = await _authenticationService.ApplyTokenAsync(applyRequest);
                 return new ConnectResult
                 {