Skip to content

Commit 394c9d3

Browse files
authored
webapp: Fix api mismatch (#2209)
Signed-off-by: Arthur Chan <[email protected]>
1 parent 8a09bf0 commit 394c9d3

File tree

1 file changed

+8
-1
lines changed
  • tools/web-fuzzing-introspection/app/webapp

1 file changed

+8
-1
lines changed

tools/web-fuzzing-introspection/app/webapp/routes.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1439,7 +1439,14 @@ def api_full_type_definition(args):
14391439

14401440
typedef_list = extract_introspector_typedef(project_name,
14411441
latest_introspector_datestr)
1442-
return typedef_list
1442+
1443+
return {
1444+
'result': 'success',
1445+
'project': {
1446+
'name': project_name,
1447+
'typedef_list': typedef_list,
1448+
}
1449+
}
14431450

14441451

14451452
@blueprint.route('/api/check_macro')

0 commit comments

Comments
 (0)