Skip to content

Commit

Permalink
SPT-1998 fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mrandrewsmith committed Mar 26, 2024
1 parent 6f954ed commit 15513ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NodeKit/CacheNode/UrlCacheWriterNode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ open class UrlCacheWriterNode: AsyncNode {
_ data: UrlProcessedResponse,
logContext: LoggingContextProtocol
) async -> NodeResult<Void> {
let cahced = CachedURLResponse(
let cached = CachedURLResponse(
response: data.response,
data: data.data,
storagePolicy: .allowed
)
URLCache.shared.storeCachedResponse(cahced, for: data.request)
URLCache.shared.storeCachedResponse(cached, for: data.request)
return .success(())
}
}

0 comments on commit 15513ec

Please sign in to comment.