diff --git a/VERSION.txt b/VERSION.txt index 92dd9acf81..0a97a3c565 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.10.34 \ No newline at end of file +5.10.35 \ No newline at end of file diff --git a/app/Http/Controllers/ExpenseController.php b/app/Http/Controllers/ExpenseController.php index 8827cbc470..8f122f5ded 100644 --- a/app/Http/Controllers/ExpenseController.php +++ b/app/Http/Controllers/ExpenseController.php @@ -647,7 +647,7 @@ public function edocument(EDocumentRequest $request) $user = auth()->user(); foreach ($request->file("documents") as $file) { - ImportEDocument::dispatch($file->get(), $file->getClientOriginalName(), $request->file("documents")->getMimeType(), $user->company()); + ImportEDocument::dispatch($file->get(), $file->getClientOriginalName(), $file->getMimeType(), $user->company()); } return response()->json(['message' => 'Processing....'], 200); diff --git a/config/ninja.php b/config/ninja.php index 1f7c89b434..db690e85b8 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -17,8 +17,8 @@ 'require_https' => env('REQUIRE_HTTPS', true), 'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_domain' => env('APP_DOMAIN', 'invoicing.co'), - 'app_version' => env('APP_VERSION', '5.10.34'), - 'app_tag' => env('APP_TAG', '5.10.34'), + 'app_version' => env('APP_VERSION', '5.10.35'), + 'app_tag' => env('APP_TAG', '5.10.35'), 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', false),