@dnax/core 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/hono.ts +4 -1
- package/package.json +1 -1
package/app/hono.ts
CHANGED
|
@@ -381,7 +381,10 @@ function HonoInstance(): typeof app {
|
|
|
381
381
|
let insertedFiles = [];
|
|
382
382
|
for await (let file of parseBody?.file) {
|
|
383
383
|
let insertedFile = await drive.write(file.name, file);
|
|
384
|
-
insertedFiles.push(
|
|
384
|
+
insertedFiles.push({
|
|
385
|
+
...data,
|
|
386
|
+
_file: insertedFile,
|
|
387
|
+
});
|
|
385
388
|
}
|
|
386
389
|
response = await rest.insertMany(col?.slug, insertedFiles);
|
|
387
390
|
} else if (typeof parseBody?.file == "object") {
|