Skip to content

Commit a2d6b7e

Browse files
committed
Remove unnecessary log statements and extraneous files
1 parent 0d8da09 commit a2d6b7e

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed
Binary file not shown.

{{cookiecutter.project_slug}}/backend/app/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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]

{{cookiecutter.project_slug}}/frontend/app/lib/api/auth.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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
}

{{cookiecutter.project_slug}}/frontend/middleware.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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))) {

0 commit comments

Comments
 (0)