Skip to content

Commit

Permalink
Send description attribute to GB API
Browse files Browse the repository at this point in the history
  • Loading branch information
luciajanikova committed Jan 14, 2025
1 parent bf25eff commit c981334
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/api/messages_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def permitted_message_draft_params
],
objects: [
:name,
:description,
:is_signed,
:to_be_signed,
:mimetype,
Expand Down
1 change: 1 addition & 0 deletions app/jobs/govbox/submit_message_draft_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def build_objects(message_draft)
objects << {
id: object.uuid,
name: object.name,
description: object.description,
encoding: "Base64",
signed: object.is_signed,
mime_type: object.mimetype,
Expand Down

0 comments on commit c981334

Please sign in to comment.