Bottelet / DaybydayCRM

DaybydayCRM an open-source CRM, to help you keep track of your daily workflow.
https://daybydaycrm.com
2.26k stars 755 forks source link

An error occurs when posting an avatar image at users create or update #200

Closed k-yamasaki-zakisan closed 3 years ago

k-yamasaki-zakisan commented 3 years ago

The error is as follows when uploading the avatar image as written in the title

スクリーンショット 2020-11-15 16 30 37

スクリーンショット 2020-11-15 15 25 09

スクリーンショット 2020-11-15 15 25 18

スクリーンショット 2020-11-15 15 25 36

When I checked the source code, this variable was null

dd($settings->toArray(), $settings->external_id);
$path = Storage::put($settings->external_id, $file);

スクリーンショット 2020-11-15 15 21 58

I think the intended function is to upload an image to the file path described below.

storage/Auth(user)->external_id/filename

If you can tell me the file path of the avatar image to upload, will I fix it? thanks!!

k-yamasaki-zakisan commented 3 years ago

I'm sorry

It seems to be a function to upload images to AWS-S3

I had a misunderstanding