update
This commit is contained in:
@@ -37,8 +37,8 @@ class Upload extends Base
|
||||
Db::commit();
|
||||
} catch (Exception $e) {
|
||||
Db::rollback();
|
||||
return $this->response($e->getMessage(), 500);
|
||||
return $this->response($e->getMessage(), null, 500);
|
||||
}
|
||||
return $this->response('success', 200, $data);
|
||||
return $this->response('success', $data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user