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

update app

parent 5a8b6c58
...@@ -60,8 +60,8 @@ class ApplicationController extends BaseController ...@@ -60,8 +60,8 @@ class ApplicationController extends BaseController
try { try {
$response = $this->masheryClient()->request('PUT', $url, [ $response = $this->masheryClient()->request('PUT', $url, [
'json' => [ 'json' => [
'name' => 'UpdateApp', 'name' => $request->get('name'),
'description' => 'Update' 'description' => $request->get('description')
] ]
]); ]);
......
...@@ -24,7 +24,9 @@ class MSAppUpdateRequest extends FormRequestErrors ...@@ -24,7 +24,9 @@ class MSAppUpdateRequest extends FormRequestErrors
{ {
return [ return [
'userId' => 'required', '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