Skip to content

Commit

Permalink
fix: add omitted fetch func on delete trash request on client vfolder…
Browse files Browse the repository at this point in the history
… module (#2042)
  • Loading branch information
lizable committed Apr 22, 2024
1 parent c55d5ac commit ee3cda3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/2042.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
add omitted request fetching from client to manager about deleting vfolder in trash bin.
3 changes: 2 additions & 1 deletion src/ai/backend/client/func/vfolder.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ async def delete_trash(self) -> Mapping[str, Any]:
rqst.set_json({
"id": self.id.hex,
})
return {}
async with rqst.fetch():
return {}

@api_function
async def rename(self, new_name):
Expand Down

0 comments on commit ee3cda3

Please sign in to comment.