Skip to content

Commit

Permalink
fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
khavinshankar committed Nov 7, 2023
1 parent 5e70ccd commit 903322c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/automation/autoDataExtractor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const fileToBase64 = (filePath: string) => {
const extractData = async (
camParams: CameraParams,
monitorPreset = { x: 0, y: 0, zoom: 0 }
) => {
): Promise<[OCRObservationV1Sanitized, string | null]> => {
try {
console.log("Moving to coordinates: ", monitorPreset);
await CameraUtils.absoluteMove({ camParams, ...monitorPreset });
Expand Down Expand Up @@ -189,7 +189,7 @@ const _getCamParams = (params: {
export const updateObservationAuto = async (
cameraParams: CameraAsset,
monitorPreset: CameraPreset
) => {
): Promise<[OCRObservationV1Sanitized, string | null]> => {
try {
const cameraParamsSanitized = _getCamParams(cameraParams);

Expand Down
2 changes: 1 addition & 1 deletion src/controller/helper/makeDataDump.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const makeDataDumpToJson = async (
assetExternalId: string,
patient_id: string,
consultation_id: string,
image: string
image: string | null
) => {
try {
const s3 = new AWS.S3({
Expand Down

0 comments on commit 903322c

Please sign in to comment.