mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Fixed hardcoded string
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
cc7325074e
commit
8b6e8898c1
|
@ -271,7 +271,7 @@ class SettingsController extends Controller
|
||||||
$headers = ['ContentType' => 'application/zip'];
|
$headers = ['ContentType' => 'application/zip'];
|
||||||
return Storage::download($path.'/'.$file, $file, $headers);
|
return Storage::download($path.'/'.$file, $file, $headers);
|
||||||
} else {
|
} else {
|
||||||
return response()->json(Helper::formatStandardApiResponse('error', null, 'File not found'));
|
return response()->json(Helper::formatStandardApiResponse('error', null, trans('general.file_not_found')));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue