Skip to content

Commit a473a85

Browse files
committed
Remove redundant optional chain
1 parent 9837852 commit a473a85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Core/Sources/Client/AsyncXPCService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ func suggestionRequest(
213213
do {
214214
if let updatedData {
215215
let updatedContent = try JSONDecoder()
216-
.decode(UpdatedContent.self, from: updatedData ?? Data())
216+
.decode(UpdatedContent.self, from: updatedData)
217217
continuation.resume(updatedContent)
218218
} else {
219219
continuation.resume(nil)

0 commit comments

Comments
 (0)