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({
|
||||
'id': x['id'],
|
||||
'labels': x.get('labels'),
|
||||
'code': x.get('code'),
|
||||
'image': x.get('image'),
|
||||
})
|
||||
return JsonResponse({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user