You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi just want to propose some minor changes if you can support uuid naming out of the box when uploading a file?
For example: @post('upload')
@UseInterceptors(
GCloudStorageFileInterceptor('file', {
randomFilename: true
}),
)
uploadFile(@uploadedfile() file: UploadedFileMetadata) {
console.log(file);
}
You may want to store the file with an arbitrary name instead of the original file name. You can do this by passing the randomFilename property attribute set to true as follows:
The text was updated successfully, but these errors were encountered:
Hi just want to propose some minor changes if you can support uuid naming out of the box when uploading a file?
For example:
@post('upload')
@UseInterceptors(
GCloudStorageFileInterceptor('file', {
randomFilename: true
}),
)
uploadFile(@uploadedfile() file: UploadedFileMetadata) {
console.log(file);
}
You may want to store the file with an arbitrary name instead of the original file name. You can do this by passing the randomFilename property attribute set to true as follows:
The text was updated successfully, but these errors were encountered: