@opengis/fastify-table 1.3.29 → 1.3.30
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/package.json
CHANGED
|
@@ -35,7 +35,8 @@ export default async function loggerFile({
|
|
|
35
35
|
const isFile = stat.isFile();
|
|
36
36
|
|
|
37
37
|
if (query.download && isFile) {
|
|
38
|
-
|
|
38
|
+
const buffer = await readFile(filepath, { buffer: true });
|
|
39
|
+
return buffer;
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
if (query.full && isFile) {
|