wco_models 3.5.0.4 → 3.5.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ff0ef467d2637cb4da9abc1a752a507052dfb47cc781bb421db2b80e14992bc
4
- data.tar.gz: 8e4cb9b5b3d6a7d055ff4cde11c8c30e9931334cc59b3f78c7141e9157b478f3
3
+ metadata.gz: 300bd642756d7771c2847a115e9e1da94ccf0adb20828a8861e4d8f4b2902a3a
4
+ data.tar.gz: d18ca2fcd9faf8e366ae428d71bcbc69c906afd7ce36e9ff2c5f57e531bd68c2
5
5
  SHA512:
6
- metadata.gz: ce6877d93368202a8a8c42d21f9f921159705cf0adb081bec936451fbc2161e321682ac11daeb3f531cdaacdd04a0e4baf558b159b28c6607435de36e08ee077
7
- data.tar.gz: 452a2aaf60e4ba951a7483ffde11c1c7ebd43c58408c9238059a90e7834aa5fb3203e8fa1a2fde2b02183611df730e22005ec97d58dffb99e08b0755cc32a122
6
+ metadata.gz: d42dc3eb769b9efbce9e3b3fa2c15460baf8908beddead8909868a3c080a0ea4f420367d07b24462bd1d792d4d8405cf228bd46192d417be520af68318306b0c
7
+ data.tar.gz: 46cb57d0ea312183cb797dc156c70fb82d9263e117a37a072b32de9f97fda276f42ad505456bf2de1a84c55ccb78f3fedba4f710a22ed9728ed1719a5beebd8c
@@ -70,11 +70,10 @@ class Wco::Api::NewspartialsController < Wco::ApiController
70
70
  config[:generate_video_url] = wco.api_newsproducer_studio_blue_url({
71
71
  api_key: Wco::Setting.get('WASYACO_SIMPLE_API_KEY'),
72
72
  api_secret: Wco::Setting.get('WASYACO_SIMPLE_API_SECRET'),
73
- host: Rails.application.routes.default_url_options[:host],
73
+ host: Wco::Setting.get('WASYACO_ORIGIN'),
74
74
  newspartial_id: @newspartial.id.to_s,
75
- wco_origin: Rails.application.routes.default_url_options[:host], # request.base_url,
75
+ wco_origin: Wco::Setting.get('WASYACO_ORIGIN'),
76
76
  })
77
- puts! config, 'ze config'
78
77
  render json: JSON.generate(config, ascii_only: false, escape_html_entities: false)
79
78
  end
80
79
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0.4
4
+ version: 3.5.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev