Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/clients/core/attachments.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Attachments extends Client {

/**
* Upload a file to be attached to a ticket comment.
* @param {Buffer} file - The file data.
* @param {FormData|Stream|PathLike} file - The file data.
* @param {object} fileOptions - Options for the file.
* @param {string} fileOptions.filename - Name of the file when attached to the ticket comment.
* @param {boolean} fileOptions.binary - If the file is binary or not.
Expand Down