mirror of
				https://github.com/pcvolkmer/arsnova-client.git
				synced 2025-10-30 22:36:12 +00:00 
			
		
		
		
	feat: make get_user_id() public available
This commit is contained in:
		| @@ -329,7 +329,7 @@ impl Client<LoggedIn> { | |||||||
|     /// Get user ID extracted from client token |     /// Get user ID extracted from client token | ||||||
|     /// |     /// | ||||||
|     /// This method fails if the token cannot be parsed |     /// This method fails if the token cannot be parsed | ||||||
|     fn get_user_id(&self) -> Result<String, ClientError> { |     pub fn get_user_id(&self) -> Result<String, ClientError> { | ||||||
|         let token = self.token.clone().unwrap_or_default(); |         let token = self.token.clone().unwrap_or_default(); | ||||||
|         let mut token_parts = token.split('.'); |         let mut token_parts = token.split('.'); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user