From 25313692733ee68f0560dd0ef835ce95600bae27 Mon Sep 17 00:00:00 2001 From: kekskurse Date: Mon, 17 May 2021 23:19:12 +0200 Subject: [PATCH] Stuff --- app/Helper/Image.php | 1 + app/Jobs/AssignServer.php | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 app/Jobs/AssignServer.php diff --git a/app/Helper/Image.php b/app/Helper/Image.php index f32a9bd..f55dd97 100644 --- a/app/Helper/Image.php +++ b/app/Helper/Image.php @@ -52,6 +52,7 @@ class Image { return new File("cache", $cacheName); } + Log::info("Get image from s3"); $file = $this->getRawImage($image); $gallery = Gallery::query()->where("id", "=", $image->gallery)->firstOrFail(); $tenant = Tenant::query()->where("id", "=", $gallery->tenant)->firstOrFail(); diff --git a/app/Jobs/AssignServer.php b/app/Jobs/AssignServer.php new file mode 100644 index 0000000..1c9a43f --- /dev/null +++ b/app/Jobs/AssignServer.php @@ -0,0 +1,38 @@ +servername)) { + return; + } + } +}