Skip to content

Commit

Permalink
chore: fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Oct 16, 2023
1 parent 2b59d3f commit e6eb936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export async function getContentType(input: Buffer) {
}
}

export function getMaxFileSize(contentType: ProviderType | undefined): number {
export function getMaxFileSize(contentType: string | undefined): number {
if ((contentType || '').split('/')[0] === 'image') {
return constants.image.maxFileSize;
}
Expand Down

0 comments on commit e6eb936

Please sign in to comment.