Skip to content

Commit

Permalink
fix: ci fail to analyse
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Dec 17, 2023
1 parent 699383e commit a778112
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Easydict/Feature/Service/Caiyun/CaiyunService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ public final class CaiyunService: QueryService {
.validate()
.responseDecodable(of: CaiyunResponse.self) { [weak self] response in
guard let self else { return }
let result = result

switch response.result {
case let .success(value):
result.from = from
Expand Down
2 changes: 2 additions & 0 deletions Easydict/Feature/Service/Tencent/TencentService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ public final class TencentService: QueryService {
.validate()
.responseDecodable(of: TencentResponse.self) { [weak self] response in
guard let self else { return }
let result = result

switch response.result {
case let .success(value):
result.from = from
Expand Down

0 comments on commit a778112

Please sign in to comment.