Skip to content

Commit

Permalink
Restore Template::rules for Process Templates
Browse files Browse the repository at this point in the history
  • Loading branch information
estebangallego committed Dec 17, 2024
1 parent 38ccc71 commit 503c637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProcessMaker/Http/Controllers/Api/TemplateController.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ private function checkIfAssetsExist($request)

protected function createProcess(Request $request)
{
$request->validate(Process::rules($request->id));
$request->validate(Template::rules($request->id, $this->types['process'][4]));
$postOptions = $this->checkIfAssetsExist($request);

if (!empty($postOptions)) {
Expand Down

0 comments on commit 503c637

Please sign in to comment.