Skip to content

Commit

Permalink
fix: accept also pid
Browse files Browse the repository at this point in the history
  • Loading branch information
g-saracca committed Feb 25, 2025
1 parent b5e62a6 commit a279321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/files/domain/useCases/ReplaceFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class ReplaceFile implements UseCase<void> {
*
* Note: This use case can be used independently of the UploadFile use case, e.g., supporting scenarios in which the files already exist in S3 or have been uploaded via some out-of-band method.
*
* @param {number} [fileId] - The File identifier.
* @param {number | string} [fileId] - The File identifier, which can be a string (for persistent identifiers), or a number (for numeric identifiers).
* @param {UploadedFileDTO} [uploadedFileDTO] - File DTO associated with the uploaded file.
* @returns {Promise<void>} A promise that resolves when the file has been successfully replaced.
* @throws {WriteError} - If there are errors while writing data.
Expand Down

0 comments on commit a279321

Please sign in to comment.