Skip to content

Commit

Permalink
updated the legacy pb.getFileUrl alias
Browse files Browse the repository at this point in the history
  • Loading branch information
ganigeorgiev committed Aug 29, 2023
1 parent fa26b1c commit 87cc42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export default class Client {
* Legacy alias of `pb.files.getUrl()`.
*/
getFileUrl(
record: Pick<{[key:string]:any}, 'id' | 'collectionId' | 'collectionName'>,
record: {[key:string]:any},
filename: string,
queryParams: FileOptions = {}
): string {
Expand Down

0 comments on commit 87cc42c

Please sign in to comment.