From 2bc0bef105e47cfc76ffdf12b8c350cfc13099c3 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Wed, 24 Jun 2020 23:32:33 +0300 Subject: [PATCH] Removed unwanted exit functions --- app/controllers/api/avatars.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/controllers/api/avatars.php b/app/controllers/api/avatars.php index 4bff678c5..6c38cbd8b 100644 --- a/app/controllers/api/avatars.php +++ b/app/controllers/api/avatars.php @@ -86,8 +86,6 @@ $avatarCallback = function ($type, $code, $width, $height, $quality) use ($types echo $data; unset($resize); - - exit(0); }; $utopia->get('/v1/avatars/credit-cards/:code') @@ -199,8 +197,6 @@ $utopia->get('/v1/avatars/image') echo $data; unset($resize); - - exit(0); } ); @@ -353,8 +349,6 @@ $utopia->get('/v1/avatars/favicon') echo $data; unset($resize); - - exit(0); } );