fix(DicomJson): retrieve.series.metadata method should be async (#3659)

This commit is contained in:
Joe Boccanfuso authored and GitHub committed 2023-09-18 11:02:27 -04:00
1 parent 9ccdaef812
commit 2737903386
2 files changed
+2 -2

No files matched your search

@@ -152,7 +152,7 @@ function createDicomJSONApi(dicomJsonConfig) {
return getDirectURL(wadoRoot, params);
},
series: {
metadata: ({ StudyInstanceUID, madeInClient = false, customSort } = {}) => {
metadata: async ({ StudyInstanceUID, madeInClient = false, customSort } = {}) => {
if (!StudyInstanceUID) {
throw new Error('Unable to query for SeriesMetadata without StudyInstanceUID');
}