mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-01 16:28:06 +09:00
Fix: ドライブアップロード直後に取得できるURLがoriginalじゃない (#5274)
This commit is contained in:
parent
50f5743dbd
commit
774fa19fea
@ -460,7 +460,7 @@ export default async function(
|
||||
|
||||
logger.succ(`drive file has been created ${file.id}`);
|
||||
|
||||
DriveFiles.pack(file).then(packedFile => {
|
||||
DriveFiles.pack(file, { self: true }).then(packedFile => {
|
||||
// Publish driveFileCreated event
|
||||
publishMainStream(user.id, 'driveFileCreated', packedFile);
|
||||
publishDriveStream(user.id, 'fileCreated', packedFile);
|
||||
|
Loading…
Reference in New Issue
Block a user