Fixed bug on cloud assets

added missing using ref

Change-Id: I8eb4f1a121a12908527408bdcd57cefa0d9fc4cb
This commit is contained in:
smarcet 2019-04-01 12:08:30 -03:00
parent a8986736ba
commit 9ab47a68d6
1 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
**/
use App\Http\Utils\SwiftBucket;
use App\Models\Foundation\Main\CountryCodes;
use App\Models\Foundation\Main\Repositories\ILanguageRepository;
use App\Models\Foundation\Summit\Factories\PresentationSpeakerSummitAssistanceConfirmationRequestFactory;
@ -570,7 +571,7 @@ final class SpeakerService
throw new ValidationException(sprintf("file exceeds max_file_size (%s MB).", ($max_file_size / 1024) / 1024));
}
$uploader = new FileUploader($this->folder_service, new SwiftBucket);
$uploader = new FileUploader($this->folder_service, new SwiftBucket());
$photo = $uploader->build($file, 'profile-images', true);
$speaker->setPhoto($photo);