mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	FIX: fix third-party login
Change-Id: Ib4699ecec1a6c72a9bc4967751d07b75f6b52d3a Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
		
							parent
							
								
									40684c561e
								
							
						
					
					
						commit
						db20e5efed
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -48,8 +48,8 @@ std::string http_headers::get_response() | |||
|             std::string user_avatar; | ||||
|             try { | ||||
|                 json user_j = json::parse(http_body); | ||||
|                 if (user_j.contains("uid")) | ||||
|                     user_id = std::to_string(user_j["uid"].get<int>()); | ||||
|                 if (user_j.contains("uidStr")) | ||||
|                     user_id = user_j["uidStr"].get<std::string>(); | ||||
|                 if (user_j.contains("name")) | ||||
|                     user_name = user_j["name"].get<std::string>(); | ||||
|                 if (user_j.contains("avatar")) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Stone Li
						Stone Li