mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 00:55:48 +01:00
Fix: ドライブアップロード直後に取得できるURLがoriginalじゃない (#5274)
This commit is contained in:
parent
ed8b073e54
commit
6cdbb27169
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ export default async function(
|
||||||
|
|
||||||
logger.succ(`drive file has been created ${file.id}`);
|
logger.succ(`drive file has been created ${file.id}`);
|
||||||
|
|
||||||
DriveFiles.pack(file).then(packedFile => {
|
DriveFiles.pack(file, { self: true }).then(packedFile => {
|
||||||
// Publish driveFileCreated event
|
// Publish driveFileCreated event
|
||||||
publishMainStream(user.id, 'driveFileCreated', packedFile);
|
publishMainStream(user.id, 'driveFileCreated', packedFile);
|
||||||
publishDriveStream(user.id, 'fileCreated', packedFile);
|
publishDriveStream(user.id, 'fileCreated', packedFile);
|
||||||
|
|
Loading…
Reference in a new issue