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 = [
41
41
" pytest-asyncio>=0.21.0" ,
42
42
" argon2-cffi==23.1.0" ,
43
43
" argon2-cffi-bindings==21.2.0" ,
44
- " odmantic== 1.0.0" ,
44
+ " odmantic>= 1.0, <2 .0" ,
45
45
]
46
46
47
47
[project .optional-dependencies ]
Original file line number Diff line number Diff line change @@ -164,17 +164,11 @@ export const apiAuth = {
164
164
return ( await res . json ( ) ) as IMsg
165
165
} ,
166
166
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
- } )
172
167
const res = await fetch ( `${ apiCore . url } /users/create` , {
173
168
method : "POST" ,
174
169
body : JSON . stringify ( data ) ,
175
170
headers : apiCore . headers ( token ) ,
176
171
} )
177
- console . log ( res . body )
178
172
return ( await res . json ( ) ) as IUserProfile
179
173
} ,
180
174
}
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ export function middleware(request: NextRequest) {
30
30
const from = request . headers . has ( "referer" ) ? request . headers . get ( "referer" ) : "/"
31
31
const to = request . url
32
32
const state = store . getState ( )
33
- console . log ( "To this: " + to )
34
33
if ( from ) {
35
34
if ( loggedIn ( state ) && anonymousRoutes . some ( route => to . endsWith ( route ) ) ) {
36
35
if ( redirectRoutes . some ( route => from . endsWith ( route ) ) ) {
You can’t perform that action at this time.
0 commit comments