mirror of
https://github.com/rommapp/romm.git
synced 2026-07-01 08:16:21 +00:00
3
.github/ISSUE_TEMPLATE/bug_report.md
vendored
3
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -7,6 +7,9 @@ assignees: zurdi15
|
||||
|
||||
---
|
||||
|
||||
**RomM version**
|
||||
Version of RomM you are using
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
|
||||
@@ -20,6 +20,16 @@ async def rom(p_slug: str, file_name: str) -> dict:
|
||||
return {'data': dbh.get_rom(p_slug, file_name)}
|
||||
|
||||
|
||||
@app.delete("/platforms/{p_slug}/roms/{file_name}")
|
||||
async def delete_rom(p_slug: str, file_name: str, filesystem: bool=False) -> dict:
|
||||
"""Detele rom from filesystem and database"""
|
||||
|
||||
log.info("deleting rom...")
|
||||
if filesystem: fs.delete_rom(p_slug, file_name)
|
||||
dbh.delete_rom(p_slug, file_name)
|
||||
return {'msg': 'success'}
|
||||
|
||||
|
||||
@app.patch("/platforms/{p_slug}/roms")
|
||||
async def updateRom(req: Request, p_slug: str) -> dict:
|
||||
"""Updates rom details"""
|
||||
@@ -50,16 +60,6 @@ async def updateRom(req: Request, p_slug: str) -> dict:
|
||||
return {'data': updatedRom}
|
||||
|
||||
|
||||
@app.delete("/platforms/{p_slug}/roms")
|
||||
async def delete_rom(p_slug: str, file_name: str, filesystem: bool=False) -> dict:
|
||||
"""Detele rom from filesystem and database"""
|
||||
|
||||
log.info("deleting rom...")
|
||||
if filesystem: fs.delete_rom(p_slug, file_name)
|
||||
dbh.delete_rom(p_slug, file_name)
|
||||
return {'msg': 'success'}
|
||||
|
||||
|
||||
@app.get("/platforms/{p_slug}/roms")
|
||||
async def roms(p_slug: str) -> dict:
|
||||
"""Returns all roms of the desired platform"""
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
# v1.5.1 (_31-03-2023_)
|
||||
|
||||
## Fix
|
||||
- Delete game now works properly
|
||||
|
||||
# v1.5 (_30-03-2023_)
|
||||
|
||||
**`Breaking change`**
|
||||
|
||||
Reference in New Issue
Block a user