thumbnail content type
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

* content type of thumbnail is separated from the full photo content type
* remove git from build dependencies in Dockerfile
This commit is contained in:
zegkljan
2022-02-20 01:09:54 +01:00
parent 1cf44e3bfc
commit 7506421848
4 changed files with 18 additions and 15 deletions
+5 -4
View File
@@ -86,8 +86,9 @@ type Photo struct {
}
type PhotoMetadata struct {
ContentType string `json:"content_type"`
Size int64 `json:"size"`
ID FeaturePhotoID `json:"id"`
ThumbnailFilename string `json:"thumbnail_filename"`
ContentType string `json:"content_type"`
ThumbnailContentType string `json:"thumbnail_content_type"`
Size int64 `json:"size"`
ID FeaturePhotoID `json:"id"`
ThumbnailFilename string `json:"thumbnail_filename"`
}