Skip to content

Commit

Permalink
Fix check pack
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 authored and fs5m8 committed Feb 16, 2023
1 parent 96667a1 commit 3619cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/repositories/drive-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class DriveFileRepository extends Repository<DriveFile> {
isSensitive: file.isSensitive,
blurhash: file.blurhash,
properties: file.properties,
url: opts.self ? file.url : (sanitizeUrl(this.getPublicUrl(file, false, meta)) ?? null),
url: sanitizeUrl(opts.self ? file.url : this.getPublicUrl(file, false, meta)) ?? null,
thumbnailUrl: sanitizeUrl(this.getPublicUrl(file, true, meta)) ?? null,
folderId: file.folderId,
folder: opts.detail && file.folderId ? DriveFolders.pack(file.folderId, {
Expand Down

0 comments on commit 3619cec

Please sign in to comment.