Skip to content

Commit

Permalink
update notification encrpyted_message according to api description
Browse files Browse the repository at this point in the history
  • Loading branch information
celuchmarek committed Jun 14, 2024
1 parent d9466fb commit 403f9bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/device.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ def notify(document_guid, document_encryption_key)
# TODO: encrypt notifications
# encrpyted_message = encrypt_message({
# document_guid: document_guid,
# key: document_encryption_key
# documentEncryptionKey: document_encryption_key
# }.to_json,
# pushkey
# )

encrpyted_message = {
document_guid: document_guid,
key: document_encryption_key
documentEncryptionKey: document_encryption_key
}.to_json

if ['ios', 'android'].include? platform
Expand Down

0 comments on commit 403f9bd

Please sign in to comment.