Skip to content

Commit

Permalink
修复订阅
Browse files Browse the repository at this point in the history
  • Loading branch information
ET-LINK committed Nov 25, 2019
1 parent 7977838 commit 0c35e64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EnterAffectiveCloud/Cloud/AffectiveCloudServices.swift
Original file line number Diff line number Diff line change
Expand Up @@ -257,15 +257,15 @@ extension AffectiveCloudServices: BiodataServiceProtocol {
if let flag = self.biodataInitialList?.contains(.EEG), eegParamList.count > 0 {
if !flag {
self.delegate?.error(client: self.client, request: nil, error: .noBiodataService, message: "CSRequestError: EEG service unavailable: you must init eeg biodata service first!")
return
}
return
}

if let flag = self.biodataInitialList?.contains(.HeartRate), hrParamList.count > 0 {
if !flag {
self.delegate?.error(client: self.client, request: nil, error: .noBiodataService, message: "CSRequestError: Heart rate service unavailable: you must init hr biodata service first!")
return
}
return
}

let jsonModel = AffectiveCloudRequestJSONModel()
Expand Down

0 comments on commit 0c35e64

Please sign in to comment.