Skip to content

Commit

Permalink
Merge pull request #1643 from ConductionNL/feature/WOO-45/notubiz
Browse files Browse the repository at this point in the history
Make ObjectEntityService -> getBase64Size function public
  • Loading branch information
WilcoLouwerse committed Apr 23, 2024
2 parents f8c389c + 7fba94d commit 0afc835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/Service/ObjectEntityService.php
Expand Up @@ -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);
Expand Down

0 comments on commit 0afc835

Please sign in to comment.