Skip to content

Commit 947e595

Browse files
authored
2.2.4 - Rename exported CSV file (#300)
1 parent 3c20c6f commit 947e595

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

lib/modules/asset/AssetsController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export class AssetsController {
211211

212212
request.response.configure({
213213
headers: {
214-
"Content-Disposition": `attachment; filename="${id}.asset.csv"`,
214+
"Content-Disposition": `attachment; filename="asset-${id}.csv"`,
215215
"Content-Type": "text/csv",
216216
},
217217
});

lib/modules/device/DevicesController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ export class DevicesController {
366366

367367
request.response.configure({
368368
headers: {
369-
"Content-Disposition": `attachment; filename="${id}.asset.csv"`,
369+
"Content-Disposition": `attachment; filename="device-${id}.csv"`,
370370
"Content-Type": "text/csv",
371371
},
372372
});

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kuzzle-device-manager",
3-
"version": "2.2.3",
3+
"version": "2.2.4",
44
"description": "Manage your IoT devices and assets. Choose a provisioning strategy, receive and decode payload, handle your IoT business logic.",
55
"author": "The Kuzzle Team (support@kuzzle.io)",
66
"repository": {

0 commit comments

Comments
 (0)