Skip to content

Commit

Permalink
Anycable message (#287)
Browse files Browse the repository at this point in the history
* anycable-docker

* sidekiq route

* messenger prime position

* specs on emojis

* tailwind gray, app user profile, editor icons align and many more styles tweaks

* style tweaks article editor & conversation

* goldiloader app wide eager loader

* vonage & message bird

* dialog 360

* prime position

* Merge remote-tracking branch 'origin/master' into vonage

* silent logs

* conversation spec fix

* message bird dev

* sandbox on specs
  • Loading branch information
michelson committed Feb 10, 2021
1 parent bf41b0b commit 19b0164
Show file tree
Hide file tree
Showing 12 changed files with 890 additions and 18 deletions.
1 change: 1 addition & 0 deletions app/javascript/src/graphql/mutations.mjs
Expand Up @@ -1318,6 +1318,7 @@ export const UPDATE_INTEGRATION = `
icon
state
description
hookUrl
}
}
}
Expand Down
1 change: 1 addition & 0 deletions app/models/app_package_integration.rb
Expand Up @@ -20,6 +20,7 @@ class AppPackageIntegration < ApplicationRecord
user_token
credentials
verify_token
sandbox
], coder: JSON

validate do
Expand Down
4 changes: 3 additions & 1 deletion app/services/message_apis/dialog360.rb
Expand Up @@ -11,7 +11,9 @@ def initialize(config:)
@api_token = config["api_secret"]
@phone = config["user_id"]

@url = "https://waba-sandbox.360dialog.io/v1"
if true #config["sandbox"]
@url = "https://waba-sandbox.360dialog.io/v1"
end

@conn = Faraday.new(
request: {
Expand Down

0 comments on commit 19b0164

Please sign in to comment.