From 7fba94d9d7e6e6d0b06fbe5e951ae8269711bedd Mon Sep 17 00:00:00 2001 From: Wilco Louwerse Date: Tue, 23 Apr 2024 15:26:29 +0200 Subject: [PATCH] Make ObjectEntityService -> getBase64Size function public --- api/src/Service/ObjectEntityService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Service/ObjectEntityService.php b/api/src/Service/ObjectEntityService.php index 36be40dfd..f4008e28b 100644 --- a/api/src/Service/ObjectEntityService.php +++ b/api/src/Service/ObjectEntityService.php @@ -1504,7 +1504,7 @@ private function base64ToFileArray(array $file): array * * @return Exception|float|int */ - private function getBase64Size($base64) + public function getBase64Size($base64) { //return memory size in B, KB, MB try { $size_in_bytes = (int) (strlen(rtrim($base64, '=')) * 3 / 4);