Skip to content

Commit

Permalink
=
Browse files Browse the repository at this point in the history
  • Loading branch information
arikaim-repository committed Oct 3, 2020
1 parent a809650 commit 19d6fb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Api/Packages.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ public function repositoryInstallController($request, $response, $data)

$this->setResponse($result,function() use($package,$type) {
$this
->message($type . '.install')
->message($type . '.download')
->field('type',$type)
->field('name',$package);
},'errors.' . $type . '.install');
},'errors.' . $type . '.download');

});
$data->validate();
Expand Down Expand Up @@ -96,11 +96,11 @@ public function repositoryUpdateController($request, $response, $data)

$this->setResponse($result,function() use($name,$type,$version) {
$this
->message($type . '.update')
->message($type . '.download')
->field('type',$type)
->field('type',$version)
->field('name',$name);
},'errors.' . $type . '.update');
},'errors.' . $type . '.download');
});
$data->validate();
}
Expand Down

0 comments on commit 19d6fb0

Please sign in to comment.