Skip to content

Commit 3f8c7b3

Browse files
committed
revert: ♻️ Removed commentd code
1 parent 45d1f3f commit 3f8c7b3

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

lib/contentstack_utils/utils.rb

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
require_relative './model/options.rb'
22
require_relative './model/metadata.rb'
33
require_relative './support/helper.rb'
4+
require 'nokogiri'
45

56
module ContentstackUtils
67
def self.render_content(content, options)
@@ -47,16 +48,6 @@ def self.render_content(content, options)
4748
return object
4849
end
4950
end
50-
# elsif entry.has_key? 'embeddedItems'
51-
# if entry['embeddedItems'].has_key? 'edges'
52-
# if entry['embeddedItems']['edges'].has_key? 'node'
53-
# node = entry['embeddedItems']['edges']['node']
54-
# object = node.select { |embedObject| embedObject['uid'] == metadata.item_uid }
55-
# if object != nil && object.length() > 0
56-
# return object
57-
# end
58-
# end
59-
# end
6051
end
6152
return nil
6253
end

0 commit comments

Comments
 (0)