refactor(server): use named export

This commit is contained in:
syuilo
2022-01-20 02:43:13 +09:00
parent 53937e09a0
commit 59520c31fd
10 changed files with 12 additions and 12 deletions

View File

@@ -312,7 +312,7 @@ async function deleteOldFile(user: IRemoteUser) {
* @param sensitive Mark file as sensitive
* @return Created drive file
*/
export default async function(
export async function addFile(
user: { id: User['id']; host: User['host'] } | null,
path: string,
name: string | null = null,