mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
fix setting api version endpoing
This commit is contained in:
@ -9,7 +9,7 @@ class SettingsController extends Controller
|
|||||||
{
|
{
|
||||||
public function getAppVersion(Request $request)
|
public function getAppVersion(Request $request)
|
||||||
{
|
{
|
||||||
$version = Setting::getSetting('version', $request->header('company'));
|
$version = Setting::getSetting('version');
|
||||||
|
|
||||||
return response()->json([
|
return response()->json([
|
||||||
'version' => $version,
|
'version' => $version,
|
||||||
|
|||||||
Reference in New Issue
Block a user