Skip to content

Commit 0cce88a

Browse files
committed
fix one off import option
1 parent 238883a commit 0cce88a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tools/GitHub/Invoke-ExecCommunityRepo.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function Invoke-ExecCommunityRepo {
161161
$FullName = $Request.Body.FullName
162162
$Branch = $Request.Body.Branch
163163
$Template = Get-GitHubFileContents -FullName $FullName -Path $Path -Branch $Branch
164-
Import-CommunityTemplate -Template $Template
164+
Import-CommunityTemplate -Template $Template.content -SHA $Template.sha
165165
}
166166
default {
167167
$Results = @{

0 commit comments

Comments
 (0)