Skip to content

Commit b8760c6

Browse files
authored
Apply suggestions from code review
1 parent 91e556d commit b8760c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/Types+Media.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import Foundation
2-
import UniformTypeIdentifiers
32

43
/// Media refers to any image, GIF, or video attached to a Tweet. The media object is not a primary object on any endpoint, but can be found and expanded in the Tweet object.
54
public struct Media: Codable, Identifiable {
@@ -96,7 +95,7 @@ extension Media {
9695
public var bitRate: Int?
9796

9897
/// Type of media
99-
public var contentType: UTType
98+
public var contentType: String
10099

101100
/// URL to the media content
102101
public var url: String

0 commit comments

Comments
 (0)