[#586] fixed multiple nested relation expansions with shared base path

This commit is contained in:
Gani Georgiev
2022-09-21 13:34:34 +03:00
parent a1ad5004f8
commit 9a8c9dd115
14 changed files with 57 additions and 16 deletions

View File

@@ -271,7 +271,7 @@ func (s *System) CreateThumb(originalKey string, thumbKey, thumbSize string) err
}
defer r.Close()
// create imaging object from the origial reader
// create imaging object from the original reader
img, decodeErr := imaging.Decode(r, imaging.AutoOrientation(true))
if decodeErr != nil {
return decodeErr