🐛 Fixing a bug.

This commit is contained in:
Wisp X
2019-11-05 20:40:46 +08:00
parent a3ff28d8fd
commit 01b067e02f
+1 -1
View File
@@ -37,7 +37,7 @@ class Upload extends Base
Db::commit();
} catch (Exception $e) {
Db::rollback();
return $this->response($e->getMessage(), null, 500);
return $this->response($e->getMessage(), [], 500);
}
return $this->response('success', $data);
}