PhotoUpdatePayload
struct PhotoUpdatePayload : Codable, Hashable
Sent to the photo update endpoint The important parts: desc, location_id
-
File ID
Declaration
Swift
let id: Int
-
Constructor from edited data
Declaration
Swift
init(from: Photo, locationId: Int, caption: String)