Skip to content

Commit 36e3400

Browse files
committed
Switch order of kwargs to correspond between vision service and camera service
1 parent 0e4fd50 commit 36e3400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/viam/components/camera/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async def GetImages(self, stream: Stream[GetImagesRequest, GetImagesResponse]) -
6262
fmt = mime_type.to_proto() # Will be Format.FORMAT_UNSPECIFIED if an unsupported/custom mime type is set
6363

6464
img_bytes = img.data
65-
img_bytes_lst.append(Image(source_name=name, format=fmt, mime_type=img.mime_type, image=img_bytes))
65+
img_bytes_lst.append(Image(source_name=name, mime_type=img.mime_type, format=fmt, image=img_bytes))
6666
response = GetImagesResponse(images=img_bytes_lst, response_metadata=metadata)
6767
await stream.send_message(response)
6868

0 commit comments

Comments
 (0)