Skip to content

Commit d9bb453

Browse files
committed
feat(contentful-export): Add cf user agent
1 parent 72a18b1 commit d9bb453

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/parseOptions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { resolve } from 'path'
2-
2+
import { version } from '../package'
33
export default function parseOptions (params) {
44
const defaultOptions = {
55
exportDir: process.cwd(),
@@ -70,5 +70,6 @@ export default function parseOptions (params) {
7070
}
7171
}
7272

73+
options.managementApplication = options.managementApplication || `contentful.export/${version}`
7374
return options
7475
}

0 commit comments

Comments
 (0)