|  | @@ -12,14 +12,14 @@ function Service() {
 | 
	
		
			
			| 12 | 12 |    function init() {
 | 
	
		
			
			| 13 | 13 |      console.log('GameService init')
 | 
	
		
			
			| 14 | 14 |  
 | 
	
		
			
			| 15 |  | -    // return liffInit().then((profile) => {
 | 
	
		
			
			|  | 15 | +    return liffInit().then((profile) => {
 | 
	
		
			
			| 16 | 16 |        
 | 
	
		
			
			| 17 | 17 |        // // 測試用資料
 | 
	
		
			
			| 18 |  | -      const profile = {
 | 
	
		
			
			| 19 |  | -        userId: "Ua89aacd560a328ece0fec5584435046f",
 | 
	
		
			
			| 20 |  | -        displayName: "Tim",
 | 
	
		
			
			| 21 |  | -        pictureUrl: "https://sprofile.line-scdn.net/0hAvrrYLRRHllfCwoU_RtgJi9bHTN8ekdLdWRZPmJYQGxnPFwLdG5Za29YSTkyb1AGID9XbzoLEmlTGGk_QV3ibVg7QG5mOVANdm5Uug",
 | 
	
		
			
			| 22 |  | -      }
 | 
	
		
			
			|  | 18 | +      // const profile = {
 | 
	
		
			
			|  | 19 | +      //   userId: "Ua89aacd560a328ece0fec5584435046f",
 | 
	
		
			
			|  | 20 | +      //   displayName: "Tim",
 | 
	
		
			
			|  | 21 | +      //   pictureUrl: "https://sprofile.line-scdn.net/0hAvrrYLRRHllfCwoU_RtgJi9bHTN8ekdLdWRZPmJYQGxnPFwLdG5Za29YSTkyb1AGID9XbzoLEmlTGGk_QV3ibVg7QG5mOVANdm5Uug",
 | 
	
		
			
			|  | 22 | +      // }
 | 
	
		
			
			| 23 | 23 |  
 | 
	
		
			
			| 24 | 24 |        m_LineUserId = profile.userId || '';
 | 
	
		
			
			| 25 | 25 |        m_LineName = profile.displayName || '';
 | 
	
	
		
			
			|  | @@ -29,12 +29,12 @@ function Service() {
 | 
	
		
			
			| 29 | 29 |        console.log('lineUserId:', m_LineUserId)
 | 
	
		
			
			| 30 | 30 |  
 | 
	
		
			
			| 31 | 31 |        // 測試用
 | 
	
		
			
			| 32 |  | -      return Promise.resolve(profile);
 | 
	
		
			
			|  | 32 | +      // return Promise.resolve(profile);
 | 
	
		
			
			| 33 | 33 |  
 | 
	
		
			
			| 34 |  | -    //   return profile;
 | 
	
		
			
			| 35 |  | -    // }).catch((error) => {
 | 
	
		
			
			| 36 |  | -    //   console.log('[GameService] Liff Init Error \n Name:' + error.name + '\n Message:' + error.message);
 | 
	
		
			
			| 37 |  | -    // })
 | 
	
		
			
			|  | 34 | +      return profile;
 | 
	
		
			
			|  | 35 | +    }).catch((error) => {
 | 
	
		
			
			|  | 36 | +      console.log('[GameService] Liff Init Error \n Name:' + error.name + '\n Message:' + error.message);
 | 
	
		
			
			|  | 37 | +    })
 | 
	
		
			
			| 38 | 38 |  
 | 
	
		
			
			| 39 | 39 |    }
 | 
	
		
			
			| 40 | 40 |  
 |