NewPhoto should only set default IDs, not entities
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
c0a3ab5ac5
commit
6564e7a548
1 changed files with 0 additions and 4 deletions
|
@ -90,13 +90,9 @@ func NewPhoto() Photo {
|
|||
return Photo{
|
||||
PhotoType: TypeImage,
|
||||
PhotoCountry: UnknownCountry.ID,
|
||||
Camera: &UnknownCamera,
|
||||
CameraID: UnknownCamera.ID,
|
||||
Lens: &UnknownLens,
|
||||
LensID: UnknownLens.ID,
|
||||
Location: &UnknownLocation,
|
||||
LocationID: UnknownLocation.ID,
|
||||
Place: &UnknownPlace,
|
||||
PlaceID: UnknownPlace.ID,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue