Skip to content

Commit 29b2390

Browse files
authored
Merge pull request #24 from hyperoslo/fix/json-dictionary
Fix size type in json dictionary
2 parents 610276c + ebd0a37 commit 29b2390

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Shared/Item.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ public struct Item: Mappable, Indexable {
6666
Key.Index.string : index,
6767
Key.Kind.string : kind,
6868
Key.Size.string : [
69-
Key.Width.string : size.width,
70-
Key.Height.string : size.height
69+
Key.Width.string : Double(size.width),
70+
Key.Height.string : Double(size.height)
7171
]
7272
]
7373

0 commit comments

Comments
 (0)