Skip to content

Commit b2789b9

Browse files
Fix return when creating a heuristic (#321)
Co-authored-by: JWittmeyer <91723236+JWittmeyer@users.noreply.github.com>
1 parent ba46115 commit b2789b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fast_api/routes/heuristic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def create_heuristic(
209209
notification.send_organization_update(
210210
project_id, f"information_source_created:{str(info_source.id)}"
211211
)
212-
return get_silent_success()
212+
return pack_json_result({"id": str(info_source.id)}, wrap_for_frontend=False)
213213

214214

215215
@router.post(

0 commit comments

Comments
 (0)