mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-17 17:11:06 +02:00
Move locales to single json files & Replace laravel-vue-i18n with vue-i18n
This commit is contained in:
@@ -34,6 +34,6 @@ class QrCodeController extends Controller
|
||||
|
||||
return $file instanceof \Illuminate\Http\UploadedFile
|
||||
? response()->json(['data' => QrCode::decode($file)], 200)
|
||||
: response()->json(['message' => __('errors.file_upload_failed')], 500);
|
||||
: response()->json(['message' => __('error.file_upload_failed')], 500);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user