Skip to content
This repository was archived by the owner on Jul 21, 2020. It is now read-only.

Commit 6f81bf7

Browse files
committed
Missed one
1 parent 42d8ae4 commit 6f81bf7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

BeamAPI.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Pod::Spec.new do |s|
22
s.name = "BeamAPI"
3-
s.version = "1.3.2"
3+
s.version = "1.3.3"
44
s.summary = "An interface to communicate with Beam's backend."
55
s.homepage = "https://github.com/WatchBeam/beam-client-swift"
66
s.license = "MIT"
77
s.author = { "Jack Cook" => "[email protected]" }
88

99
s.requires_arc = true
1010
s.ios.deployment_target = "8.2"
11-
s.source = { :git => "https://github.com/WatchBeam/beam-client-swift.git", :tag => "1.3.2" }
11+
s.source = { :git => "https://github.com/WatchBeam/beam-client-swift.git", :tag => "1.3.3" }
1212
s.source_files = "Pod/Classes/**/*"
1313

1414
s.dependency "Starscream", "~> 2.0"

Pod/Classes/Routes/ChannelsRoutes.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ public class ChannelsRoutes {
3030
return
3131
}
3232

33-
let body = ["user": String(session.user.id)]
33+
let body = ["user": String(session.user.id)] as AnyObject
3434

35-
BeamRequest.request("/channels/\(channelId)/follow", requestType: "PUT", body: body as? AnyObject) { (json, error) in
35+
BeamRequest.request("/channels/\(channelId)/follow", requestType: "PUT", body: body) { (json, error) in
3636
completion?(error)
3737
}
3838
}

0 commit comments

Comments
 (0)