s3 support
This commit is contained in:
parent
fa5cfaf14d
commit
03f10b66ee
53 changed files with 2796 additions and 102 deletions
|
|
@ -1144,6 +1144,8 @@ func mediaUploadErr(err error) error {
|
|||
return photoInvalidErr()
|
||||
case errors.Is(err, domain.ErrDocumentInvalid):
|
||||
return mediaInvalidErr()
|
||||
case errors.Is(err, domain.ErrStorageFull):
|
||||
return storageFullErr()
|
||||
default:
|
||||
return internalErr()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue