mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 01:01:07 +03:30
feat: update production Dockerfile to php 8.2
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM docker.willaspace.com/repository/docker-hosted/standard-laravel:7.4-fpm
|
FROM docker.willaspace.com/repository/docker-hosted/standard-laravel:8.2-fpm
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ class MediaHelper
|
|||||||
public static function moveMediaTo( $model )
|
public static function moveMediaTo( $model )
|
||||||
{
|
{
|
||||||
request()->validate( [
|
request()->validate( [
|
||||||
'file_batch_id' => 'nullable|string' ,
|
'file_batch_id' => 'nullable' ,
|
||||||
] );
|
] );
|
||||||
|
|
||||||
if ( $fakeModel = FakeModel::where( 'batch_id' , request( 'file_batch_id' ) )->first() ) {
|
if ( $fakeModel = FakeModel::where( 'batch_id' , request( 'file_batch_id' ) )->first() ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user