Skip to content

Commit e1f0ee5

Browse files
committed
fix: execrunbackup params
1 parent 143e917 commit e1f0ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Settings/Invoke-ExecRunBackup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Function Invoke-ExecRunBackup {
1313
$APIName = $Request.Params.CIPPEndpoint
1414

1515
try {
16-
$CSVfile = New-CIPPBackup -BackupType 'CIPP' -Request $Request
16+
$CSVfile = New-CIPPBackup -BackupType 'CIPP' -Headers $Request.Headers
1717
$body = [pscustomobject]@{
1818
'Results' = @{
1919
resultText = 'Created backup'

0 commit comments

Comments
 (0)