diff --git a/fission/src/ui/modals/mirabuf/ImportLocalMirabufModal.tsx b/fission/src/ui/modals/mirabuf/ImportLocalMirabufModal.tsx index 194cfa03bf..6bcd867d90 100644 --- a/fission/src/ui/modals/mirabuf/ImportLocalMirabufModal.tsx +++ b/fission/src/ui/modals/mirabuf/ImportLocalMirabufModal.tsx @@ -57,7 +57,7 @@ const ImportLocalMirabufModal: React.FC = ({ modalId }) => { ]) const hashBuffer = await selectedFile.arrayBuffer() - await MirabufCachingService.CacheAndGetLocal(hashBuffer, MiraType.ROBOT) + await MirabufCachingService.CacheAndGetLocal(hashBuffer, miraType) .then(x => CreateMirabuf(x!)) .then(x => { if (x) {