Skip to content

Commit

Permalink
Merge pull request #26 from MuShare/develop/send-mail-error
Browse files Browse the repository at this point in the history
Add sendMailFailure error
  • Loading branch information
lm2343635 authored Nov 8, 2020
2 parents b96af61 + 368e4a5 commit f1e3b48
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
18 changes: 9 additions & 9 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
PODS:
- Alamofire (5.3.0)
- Kingfisher (5.15.6):
- Kingfisher/Core (= 5.15.6)
- Kingfisher/Core (5.15.6)
- PlutoSDK/Core (0.8.5):
- Alamofire (5.4.0)
- Kingfisher (5.15.7):
- Kingfisher/Core (= 5.15.7)
- Kingfisher/Core (5.15.7)
- PlutoSDK/Core (0.8.6):
- Alamofire (~> 5)
- SwiftyJSON (~> 5)
- SwiftyUserDefaults (~> 5)
- PlutoSDK/Rx (0.8.5):
- PlutoSDK/Rx (0.8.6):
- PlutoSDK/Core (~> 0)
- RxCocoa (~> 5)
- RxCocoa (5.1.1):
Expand Down Expand Up @@ -38,9 +38,9 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
Alamofire: 2c792affbdc2f18016e08fdbcacd60aebe1ba593
Kingfisher: b3554e7bf6106115b44e8795300bad580ef2fdc7
PlutoSDK: 294baf549a38c403a94fc17ab34b20623971166c
Alamofire: 3b6a534a3df22db367e4dedeeca73d1ddfcf0e2f
Kingfisher: 6e1a13523fcb1c86924ce53affe4ac957e544d59
PlutoSDK: d8d7bd500c44c20c1fd6483aef2a2762335e75dc
RxCocoa: 32065309a38d29b5b0db858819b5bf9ef038b601
RxRelay: d77f7d771495f43c556cbc43eebd1bb54d01e8e9
RxSwift: 81470a2074fa8780320ea5fe4102807cb7118178
Expand Down
2 changes: 1 addition & 1 deletion Pluto/Classes/Core/Pluto+Binding.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ extension Pluto {
return
}
guard bindings.count > 1 else {
error?(PlutoError.unbundNotAllow)
error?(PlutoError.unbindNotAllow)
return
}
let requestUrl = url(from: "/v1/user/unbinding")
Expand Down
5 changes: 3 additions & 2 deletions Pluto/Classes/Core/PlutoResponse.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,11 @@ public enum PlutoError: Int, Error {
case bindAlreadyExist = 2007
case bindNotExist = 2008
case passwordNotSet = 2009
case unbundNotAllow = 2010
case unbindNotAllow = 2010
case sendMailFailure = 2011
case invalidPassword = 3001
case invalidRefreshToken = 3002
case invalidJWTToekn = 3003
case invalidJWTToken = 3003
case invalidGoogleIDToken = 3004
case invalidWechatCode = 3005
case invalidAvatarFormat = 3006
Expand Down
2 changes: 1 addition & 1 deletion PlutoSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'PlutoSDK'
s.version = '0.8.5'
s.version = '0.8.6'
s.summary = 'Swift SDK for Pluto login microservice.'

# This description is used to generate tags and improve search results.
Expand Down

0 comments on commit f1e3b48

Please sign in to comment.