forked from open-webui/open-webui
		
	run npm run lint:backend
This commit is contained in:
		
							parent
							
								
									8d1db9a1c0
								
							
						
					
					
						commit
						3b06096c52
					
				
					 3 changed files with 17 additions and 3 deletions
				
			
		|  | @ -91,7 +91,12 @@ class AuthsTable: | |||
|         self.db.create_tables([Auth]) | ||||
| 
 | ||||
|     def insert_new_auth( | ||||
|         self, email: str, password: str, name: str, profile_image_url: str, role: str = "pending" | ||||
|         self, | ||||
|         email: str, | ||||
|         password: str, | ||||
|         name: str, | ||||
|         profile_image_url: str, | ||||
|         role: str = "pending", | ||||
|     ) -> Optional[UserModel]: | ||||
|         log.info("insert_new_auth") | ||||
| 
 | ||||
|  |  | |||
|  | @ -57,7 +57,12 @@ class UsersTable: | |||
|         self.db.create_tables([User]) | ||||
| 
 | ||||
|     def insert_new_user( | ||||
|         self, id: str, name: str, email: str, profile_image_url: str, role: str = "pending", | ||||
|         self, | ||||
|         id: str, | ||||
|         name: str, | ||||
|         email: str, | ||||
|         profile_image_url: str, | ||||
|         role: str = "pending", | ||||
|     ) -> Optional[UserModel]: | ||||
|         user = UserModel( | ||||
|             **{ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Danny Liu
						Danny Liu