This commit is contained in:
syuilo 2021-12-09 23:58:30 +09:00
parent 0abe2dfee0
commit c69b72e199
573 changed files with 3318 additions and 3318 deletions

View file

@ -12,7 +12,7 @@ export const meta = {
limit: {
duration: ms('1hour'),
max: 60
max: 60,
},
requireCredential: true as const,
@ -48,8 +48,8 @@ export const meta = {
force: {
validator: $.optional.bool,
default: false,
}
}
},
},
};
export default define(meta, async (ps, user) => {
@ -57,7 +57,7 @@ export default define(meta, async (ps, user) => {
DriveFiles.pack(file, { self: true }).then(packedFile => {
publishMainStream(user.id, 'urlUploadFinished', {
marker: ps.marker,
file: packedFile
file: packedFile,
});
});
});