Skip to content

Commit ebd0a37

Browse files
committed
Fix size type in json dictionary
1 parent 610276c commit ebd0a37

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)