skip to Main Content

AWS AssumeRole with Laravel Filesystem

I'm currently trying to figure something out. I have 2 AWS Accounts. Account A has a bucket called my_awesome_files. Account B has users, that would like to be able to see those documents in my_awesome_files. I have the following policies…

VIEW QUESTION

Some relations returning NULL when using UUID as ID – Laravel Eloquent

Why do some of my voucher relations return null? even though there is a voucher with that ID And some relationships run well as in the picture below This is code for dumping the results dump(AppModelsAffiliatorVoucher::find('27a4093d-2370-4c55-bc44-1f8ef8144067')->toArray()); dd(AppModelsAffiliatorVoucherMember::with('voucher')->find(172)->toArray()); AppModelsAffiliatorVoucher class AffiliatorVoucher…

VIEW QUESTION

laravel delete method in controller redirects to index

Maybe someone has encountered this. I only use the API in Laravel, there are no views in it. I defined "delete" but after calling this routing, I get a 301 redirect to "notifications". routes.php Route::controller(NotificationController::class) ->middleware(['auth:sanctum']) ->group(function () { Route::get('/',…

VIEW QUESTION
Back To Top
Search