Skip to content

Commit 312843c

Browse files
Merge pull request #89 from renderforest/fix-applyTemplatePresetOnProject
resources(Project): add missing $ sign in $payload
2 parents 86ed878 + 49b803b commit 312843c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/resources/Projects.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function deleteProject($payload)
140140
public function applyTemplatePresetOnProject($payload)
141141
{
142142
$body = $this->Params->destructParams($payload, ['presetId']);
143-
$projectId = $this->Params->destructURLParam(payload, 'projectId');
143+
$projectId = $this->Params->destructURLParam($payload, 'projectId');
144144

145145
$options = [
146146
'method' => 'POST',

0 commit comments

Comments
 (0)