api: Add 'code' to scan-data-labels
This commit is contained in:
parent
c29457ad24
commit
62cf8259c1
@ -1932,6 +1932,7 @@ class ScanDataLabelsView(BaseView):
|
|||||||
ret.append({
|
ret.append({
|
||||||
'id': x['id'],
|
'id': x['id'],
|
||||||
'labels': x.get('labels'),
|
'labels': x.get('labels'),
|
||||||
|
'code': x.get('code'),
|
||||||
'image': x.get('image'),
|
'image': x.get('image'),
|
||||||
})
|
})
|
||||||
return JsonResponse({
|
return JsonResponse({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user