We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents effa907 + 0d70c87 commit 1a9dc69Copy full SHA for 1a9dc69
Sources/PrinceOfVersions/PrinceOfVersions.swift
@@ -231,7 +231,8 @@ private extension PrinceOfVersions {
231
let decoder = JSONDecoder()
232
decoder.keyDecodingStrategy = .convertFromSnakeCase
233
234
- let updateInfo = try decoder.decode(UpdateInfo.self, from: data)
+ var updateInfo = try decoder.decode(UpdateInfo.self, from: data)
235
+ updateInfo.userRequirements = options.userRequirements
236
237
if let error = PoVError.validate(updateInfo: updateInfo) {
238
result = Result.failure(error)
0 commit comments