Commit 199e2638 authored by Dzulfqar Ridha's avatar Dzulfqar Ridha

update app

parent 5a8b6c58
......@@ -60,8 +60,8 @@ class ApplicationController extends BaseController
try {
$response = $this->masheryClient()->request('PUT', $url, [
'json' => [
'name' => 'UpdateApp',
'description' => 'Update'
'name' => $request->get('name'),
'description' => $request->get('description')
]
]);
......
......@@ -24,7 +24,9 @@ class MSAppUpdateRequest extends FormRequestErrors
{
return [
'userId' => 'required',
'appId' => 'required'
'appId' => 'required',
'description' => 'required',
'name' => 'required'
];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment