mirror of
https://github.com/Cernobor/oko-server.git
synced 2025-02-24 08:27:17 +00:00
thumbnail content type
* content type of thumbnail is separated from the full photo content type * remove git from build dependencies in Dockerfile
This commit is contained in:
+5
-4
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user