File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ def all_cors_origins(self) -> list[str]:
5050
5151 PROJECT_NAME : str
5252 SENTRY_DSN : HttpUrl | None = None
53- POSTGRES_SERVER : str
53+ POSTGRES_HOST : str
5454 POSTGRES_PORT : int = 5432
5555 POSTGRES_USER : str
5656 POSTGRES_PASSWORD : str = ""
@@ -63,7 +63,7 @@ def SQLALCHEMY_DATABASE_URI(self) -> PostgresDsn:
6363 scheme = "postgresql+psycopg" ,
6464 username = self .POSTGRES_USER ,
6565 password = self .POSTGRES_PASSWORD ,
66- host = self .POSTGRES_SERVER ,
66+ host = self .POSTGRES_HOST ,
6767 port = self .POSTGRES_PORT ,
6868 path = self .POSTGRES_DB ,
6969 )
Original file line number Diff line number Diff line change @@ -64,7 +64,10 @@ function Login() {
6464
6565 const onSubmit = ( data : FormData ) => {
6666 if ( loginMutation . isPending ) return
67- loginMutation . mutate ( data )
67+ loginMutation . mutate ( {
68+ email : data . username ,
69+ password : data . password ,
70+ } as AccessToken )
6871 }
6972
7073 return (
You can’t perform that action at this time.
0 commit comments