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:
1 parent
1cf44e3bfc
commit
7506421848
4 files changed
+18
-15
No files matched your search
+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