This commit is contained in:
chainchompa 2024-08-27 15:42:42 -04:00
parent fc39086fb4
commit 404ad6a7fd

View File

@ -53,7 +53,7 @@ async def get_style_preset(
return StylePresetRecordWithImage(image=image, **style_preset.model_dump())
except StylePresetNotFoundError:
raise HTTPException(status_code=404, detail="Style preset not found")
@style_presets_router.post(
"/i/{style_preset_id}",
operation_id="set_style_preset",