Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
loomchild committed Nov 7, 2024
1 parent 113da09 commit 24c194b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/nylas/utils/file_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def self.handle_message_payload(request_body)

# Build the request to attach a file to a message/draft object.
# @param file_path [String] The path to the file to attach.
# @param filename [String] The name of the attached file. Optional, derived from file_path by default.
# @return [Hash] The request that will attach the file to the message/draft
def self.attach_file_request_builder(file_path, filename = nil)
filename ||= File.basename(file_path)
Expand Down

0 comments on commit 24c194b

Please sign in to comment.