contentful-scheduler-custom 1.6.114 → 1.6.115
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 +2 -2
- 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: 48b1be7726fd4ae1b5cb166f1e6a05fcf56b1a1ae092cd80130da76d4ac51128
|
4
|
+
data.tar.gz: f33871f171989394f8822038278c0bd6323053e44ac0f102dc04666a369c1bfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d005ed4eb1141cb630d08d0f11860a3c24eaa0807a1f1d580d38884f6b8fa0e82eb203f2b708c8186a3639fbc51fed3bfaba7a56ae89bb7609b6f73e3de9c924
|
7
|
+
data.tar.gz: c10c5f94c34d4b4c54c3fda6a5d8ce129661e8438a114b047f72e8afba5b6dce5bc07c2d67cac1e08fb6154c4f900ca106ad41a2b153139ded7fd70a6f3d348b
|
@@ -7,14 +7,14 @@ module Contentful
|
|
7
7
|
class Publish
|
8
8
|
@queue = :publish
|
9
9
|
|
10
|
-
logger = ::Contentful::Webhook::Listener::Support::NullLogger.new
|
11
|
-
|
12
10
|
def self.perform(space_id, entry_id, token)
|
13
11
|
contentfulClient = ::Contentful::Client.new(
|
14
12
|
space: space_id,
|
15
13
|
access_token: token
|
16
14
|
)
|
17
15
|
|
16
|
+
logger = ::Contentful::Webhook::Listener::Support::NullLogger.new
|
17
|
+
|
18
18
|
linkedEntries = contentfulClient.entries(links_to_entry: entry_id)
|
19
19
|
|
20
20
|
logger.info "#{linkedEntries}"
|