Skip to content

Commit

Permalink
[FIX] fix payload for update database
Browse files Browse the repository at this point in the history
  • Loading branch information
hkob committed Apr 1, 2024
1 parent 90913eb commit ccf6253
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/notion_ruby_mapping/controllers/payload.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def update_block_json(type, json)
# @return [Hash] created json
# @param [Object] others
def update_property_schema_json(*others)
others.compact.reduce({}) { |hash, o| hash.merge o.update_property_schema_json }.merge @json
@json.merge(others.compact.reduce({}) { |hash, o| hash.merge o.update_property_schema_json })
end
end
end
2 changes: 1 addition & 1 deletion lib/notion_ruby_mapping/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

module NotionRubyMapping
VERSION = "0.8.3"
VERSION = "0.8.4"
NOTION_VERSION = "2022-06-28"
end

0 comments on commit ccf6253

Please sign in to comment.