contentful-scheduler-custom 1.6.111 → 1.6.112
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: 365481ceb6ab479c3c4b60c304fc8653bdb11100631cdeea8b89bde71f62f2b9
|
4
|
+
data.tar.gz: 22f1a3c078c9ce850cc686e632426208b8d42a059b63fa1fde4b7cfe9f85af09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee73a3ea5357c9f81dbdd3302c2eb06100c1dc56fbd4444069fee6ea478c192f68d8e048f33407a9466d328b1d0af172e08f70c4f5b626a4e9a187842bdeb6c7
|
7
|
+
data.tar.gz: 4b78f0279a3b2eda619a07bdba259496f2bc38dd52c15091be09ee25daafc6c142d707f8db78cb6291d8e6fdf5603a963d88eaf920f2d8317987f90825acc95e
|
@@ -15,14 +15,16 @@ module Contentful
|
|
15
15
|
|
16
16
|
linkedEntries = contentfulClient.entries(links_to_entry: entry_id)
|
17
17
|
|
18
|
+
puts linkedEntries
|
19
|
+
|
18
20
|
client = ::Contentful::Management::Client.new(
|
19
21
|
token,
|
20
22
|
raise_errors: true,
|
21
23
|
application_name: 'contentful.scheduler',
|
22
24
|
application_version: Contentful::Scheduler::VERSION
|
23
25
|
)
|
24
|
-
linkedEntries.find(space_id, entry_id).publish
|
25
26
|
client.entries.find(space_id, entry_id).publish
|
27
|
+
linkedEntries.find(space_id, entry_id).publish
|
26
28
|
end
|
27
29
|
end
|
28
30
|
end
|