Skip to content

Commit 27390ad

Browse files
fix: added route for layout metadata
1 parent 149985b commit 27390ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python_fm_dapi_weaver/controllers/records.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ async def fetch_layout_metadata(req: Request):
376376
response.raise_for_status()
377377
json_data = response.json()
378378
return {
379-
"layoutMetadata": json_data["response"]["layout"],
379+
"layoutMetadata": json_data["response"]["fieldMetaData"],
380380
"session": token
381381
}
382382

0 commit comments

Comments
 (0)