Skip to content

Commit 0f180e7

Browse files
Merge branch 'master' into patch-1
2 parents 3ef9d2f + f178e58 commit 0f180e7

File tree

6 files changed

+294
-234
lines changed

6 files changed

+294
-234
lines changed

backend/app/api/routes/users.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ def delete_user_me(session: SessionDep, current_user: CurrentUser) -> Any:
134134
raise HTTPException(
135135
status_code=403, detail="Super users are not allowed to delete themselves"
136136
)
137-
statement = delete(Item).where(col(Item.owner_id) == current_user.id)
138-
session.exec(statement) # type: ignore
139137
session.delete(current_user)
140138
session.commit()
141139
return Message(message="User deleted successfully")

frontend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ But it would be only to clean them up, leaving them won't really have any effect
8080
* From the top level project directory, run the script:
8181

8282
```bash
83-
./scripts/generate-frontend-client.sh
83+
./scripts/generate-client.sh
8484
```
8585

8686
* Commit the changes.

0 commit comments

Comments
 (0)