contentful-scheduler-custom 1.6.113 → 1.6.114
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/contentful/scheduler/tasks/publish.rb +3 -1
- data/lib/contentful/scheduler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 776509022971d2702d3d188aefa9622f3e6c8e87dae4e1c079cb7edd8bbde23a
|
4
|
+
data.tar.gz: 7d3685ec5b6c8c4db38e02d0c3b46e51ec0de4fbce41c44b2cdccd09c3b0711d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dda0761d06fe6e43079043affbf88d51a5f967053b434f474a0c77c4273ff79deb0c7338f117144370e560a3e306b253f85abe4097e6d0f4ee7e512911edff7d
|
7
|
+
data.tar.gz: 2515fa4c12a584e3c12d8a4513c8033ba6bb7622771a365d49b9211a652613d92e1c4d1dcfe8a3e79b754fe1712b6137b38d88600cdd98b591028e08db659110
|
@@ -7,6 +7,8 @@ module Contentful
|
|
7
7
|
class Publish
|
8
8
|
@queue = :publish
|
9
9
|
|
10
|
+
logger = ::Contentful::Webhook::Listener::Support::NullLogger.new
|
11
|
+
|
10
12
|
def self.perform(space_id, entry_id, token)
|
11
13
|
contentfulClient = ::Contentful::Client.new(
|
12
14
|
space: space_id,
|
@@ -15,7 +17,7 @@ module Contentful
|
|
15
17
|
|
16
18
|
linkedEntries = contentfulClient.entries(links_to_entry: entry_id)
|
17
19
|
|
18
|
-
|
20
|
+
logger.info "#{linkedEntries}"
|
19
21
|
|
20
22
|
client = ::Contentful::Management::Client.new(
|
21
23
|
token,
|