We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eb6b889 + 6d850d0 commit 2b75f41Copy full SHA for 2b75f41
Sources/Contentful/LinkResolver.swift
@@ -46,7 +46,7 @@ class LinkResolver {
46
let onlyKeysString = linkKey[firstKeyIndex ..< linkKey.endIndex]
47
// Split creates a [Substring] array, but we need [String] to index the cache
48
let keys = onlyKeysString.split(separator: ",").map { String($0) }
49
- let items: [AnyObject] = keys.compactMap { dataCache.item(for: $0) }
+ let items = keys.compactMap { dataCache.item(for: $0) }
50
for callback in callbacksList {
51
callback(items as AnyObject)
52
}
0 commit comments