Fixed hardcoded string

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-03-06 15:09:12 -08:00
parent cc7325074e
commit 8b6e8898c1

View file

@ -271,7 +271,7 @@ class SettingsController extends Controller
$headers = ['ContentType' => 'application/zip'];
return Storage::download($path.'/'.$file, $file, $headers);
} else {
return response()->json(Helper::formatStandardApiResponse('error', null, 'File not found'));
return response()->json(Helper::formatStandardApiResponse('error', null, trans('general.file_not_found')));
}
}