Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions plugins/VeeamBackupReplication/v1/metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "veeam-backup-replication",
"displayName": "Veeam Backup & Replication",
"version": "1.0.0",
"version": "1.0.1",
"author": {
"name": "SquaredUp Labs",
"type": "labs"
Expand Down Expand Up @@ -41,10 +41,16 @@
"oauth2Scope": "",
"ignoreCertificateErrors": "{{ignoreCertificateErrors}}",
"oauth2TokenExtraHeaders": [
{ "key": "x-api-version", "value": "{{apiVersion}}" }
{
"key": "x-api-version",
"value": "{{ typeof apiVersion === 'object' ? apiVersion.value : apiVersion }}"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this probably points to a bug with the autocomplete somewhere - you shouldn't need to access .value here IMO. Any thoughts @kieranlangton @andrewmumblebee ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have selectValueAs: string but not sure if should be default, or is accessible here?

}
],
"headers": [
{ "key": "x-api-version", "value": "{{apiVersion}}" }
{
"key": "x-api-version",
"value": "{{ typeof apiVersion === 'object' ? apiVersion.value : apiVersion }}"
}
]
}
}
Expand Down
1 change: 1 addition & 0 deletions plugins/VeeamBackupReplication/v1/ui.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"defaultValue": "1.3-rev1",
"isMulti": false,
"isClearable": false,
"allowCustomValues": false,
"validation": {
"required": true
},
Expand Down
Loading