Skip to content

Commit

Permalink
Merge branch 'release/2.3.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
FabrizioBrancati committed May 3, 2018
2 parents 30ecca9 + 26163f1 commit 6a8fc87
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0
4.1
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ let package = Package(
.executable(name: "SwiftyBot", targets: ["SwiftyBot"])
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", .upToNextMinor(from: "2.2.2")),
.package(url: "https://github.com/FabrizioBrancati/BFKit-Swift.git", .upToNextMinor(from: "3.0.0"))
.package(url: "https://github.com/vapor/vapor.git", .upToNextMinor(from: "2.4.0")),
.package(url: "https://github.com/FabrizioBrancati/BFKit-Swift.git", .upToNextMinor(from: "3.1.0"))
],
targets: [
.target(name: "SwiftyBot", dependencies: ["Vapor", "BFKit"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftyBot/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ droplet.post("messenger", messengerSecret) { request in
try responseData.set("message", response)

/// Calling the Facebook API to send the response.
let _: Response = try droplet.client.post("https://graph.facebook.com/v2.10/me/messages", query: ["access_token": messengerToken], ["Content-Type": "application/json"], Body.data(responseData.makeBytes()))
let _: Response = try droplet.client.post("https://graph.facebook.com/v3.0/me/messages", query: ["access_token": messengerToken], ["Content-Type": "application/json"], Body.data(responseData.makeBytes()))
}
}

Expand Down
2 changes: 1 addition & 1 deletion install_swiftlint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
set -e

SWIFTLINT_PKG_PATH="/tmp/SwiftLint.pkg"
SWIFTLINT_PKG_URL="https://github.com/realm/SwiftLint/releases/download/0.25.0/SwiftLint.pkg"
SWIFTLINT_PKG_URL="https://github.com/realm/SwiftLint/releases/download/0.25.1/SwiftLint.pkg"

wget --output-document=$SWIFTLINT_PKG_PATH $SWIFTLINT_PKG_URL

Expand Down

0 comments on commit 6a8fc87

Please sign in to comment.