File tree Expand file tree Collapse file tree 4 files changed +1
-8
lines changed
{{cookiecutter.project_slug}} Expand file tree Collapse file tree 4 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ dependencies = [
4141 " pytest-asyncio>=0.21.0" ,
4242 " argon2-cffi==23.1.0" ,
4343 " argon2-cffi-bindings==21.2.0" ,
44- " odmantic== 1.0.0" ,
44+ " odmantic>= 1.0, <2 .0" ,
4545]
4646
4747[project .optional-dependencies ]
Original file line number Diff line number Diff line change @@ -164,17 +164,11 @@ export const apiAuth = {
164164 return ( await res . json ( ) ) as IMsg
165165 } ,
166166 async createUserProfile ( token : string , data : IUserProfileCreate ) {
167- console . log ( `${ apiCore . url } /users/create` , {
168- method : "POST" ,
169- body : JSON . stringify ( data ) ,
170- headers : apiCore . headers ( token ) ,
171- } )
172167 const res = await fetch ( `${ apiCore . url } /users/create` , {
173168 method : "POST" ,
174169 body : JSON . stringify ( data ) ,
175170 headers : apiCore . headers ( token ) ,
176171 } )
177- console . log ( res . body )
178172 return ( await res . json ( ) ) as IUserProfile
179173 } ,
180174}
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ export function middleware(request: NextRequest) {
3030 const from = request . headers . has ( "referer" ) ? request . headers . get ( "referer" ) : "/"
3131 const to = request . url
3232 const state = store . getState ( )
33- console . log ( "To this: " + to )
3433 if ( from ) {
3534 if ( loggedIn ( state ) && anonymousRoutes . some ( route => to . endsWith ( route ) ) ) {
3635 if ( redirectRoutes . some ( route => from . endsWith ( route ) ) ) {
You can’t perform that action at this time.
0 commit comments