Skip to content

Commit

Permalink
use case integration preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Jun 17, 2024
1 parent 9ae3275 commit 53e6bca
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/files/infrastructure/FileJSDataverseRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,10 @@ export class FileJSDataverseRepository implements FileRepository {
): Promise<void> {
/*return jsUploadFile
.execute(datasetId, file.file, progress, abortController)
.then(storageIdSetter)*/
.then(storageIdSetter)
.catch((error: ReadError) => {
throw new Error(error.message)
})*/
return new Promise(() => {})
}

Expand Down Expand Up @@ -282,7 +285,7 @@ export class FileJSDataverseRepository implements FileRepository {
}
console.log(f.file.name)
all.push(new Promise(() => {}))
//addUploadedFileToDataset.execute(datasetId, f.file, file.storageId as string, file.description)
//all.push(addUploadedFileToDataset.execute(datasetId, f.file, file.storageId as string, file.description))
})
return Promise.all(all)
}
Expand Down

0 comments on commit 53e6bca

Please sign in to comment.