mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Make URL to connect app translatable
Instance managers can now change the URL in Transifex to use their own API endpoint.
This commit is contained in:
@@ -4,7 +4,7 @@ class ConnectAppJob < ApplicationJob
|
||||
include CableReady::Broadcaster
|
||||
|
||||
def perform(app, token, channel: nil)
|
||||
url = "https://n8n.openfoodnetwork.org.uk/webhook/regen/connect-enterprise"
|
||||
url = I18n.t("connect_app.url")
|
||||
event = "connect-app"
|
||||
enterprise = app.enterprise
|
||||
payload = {
|
||||
|
||||
@@ -265,6 +265,8 @@ en:
|
||||
community_forum_url: "Community forum URL"
|
||||
customer_instructions: "Customer instructions"
|
||||
additional_information: "Additional Information"
|
||||
connect_app:
|
||||
url: "https://n8n.openfoodnetwork.org.uk/webhook/regen/connect-enterprise"
|
||||
devise:
|
||||
passwords:
|
||||
spree_user:
|
||||
|
||||
Reference in New Issue
Block a user