fix: (regression 0.47.0) uploader information was not read #348
Massimo Melina committed
Sep 17, 2023 at 09:47 UTC
83bd2a4936e50033b70267daff88cec30a306792
1 file changed
+1
-1
src/frontEndApis.ts
+1
-1
@@ -39,7 +39,7 @@ export const frontEndApis: ApiHandlers = {
39
if (typeof uris?.[0] !== 'string')
40
return new ApiError(HTTP_BAD_REQUEST, 'bad uris')
41
return {
42
- details: Promise.all(uris.map(async (uri: any) => {
42
+ details: await Promise.all(uris.map(async (uri: any) => {
43
if (typeof uri !== 'string')
44
return false // false means error
45
const node = await urlToNode(uri, ctx)