Skip to content

Commit

Permalink
Fix usable
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBarba committed Sep 13, 2023
1 parent 806dd93 commit dfe99c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Compute/Fastly/FastlyCache.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ extension Fastly {
let state = try trx.getState()

// If state is usable then return the body from cache
if state == .found || state == .usable {
if state.contains(.usable) {
return trx
}

Expand Down

0 comments on commit dfe99c9

Please sign in to comment.