This commit is contained in:
syuilo
2022-03-01 03:34:40 +09:00
parent c8070fc544
commit a626c69547
5 changed files with 11 additions and 108 deletions

View File

@ -17,7 +17,7 @@ import { IRemoteUser, User } from '@/models/entities/user.js';
import { driveChart, perUserDriveChart, instanceChart } from '@/services/chart/index.js';
import { genId } from '@/misc/gen-id.js';
import { isDuplicateKeyValueError } from '@/misc/is-duplicate-key-value-error.js';
import * as S3 from 'aws-sdk/clients/s3.js';
import S3 from 'aws-sdk/clients/s3.js';
import { getS3 } from './s3.js';
import sharp from 'sharp';
import { FILE_TYPE_BROWSERSAFE } from '@/const.js';

View File

@ -1,5 +1,5 @@
import { URL } from 'node:url';
import * as S3 from 'aws-sdk/clients/s3.js';
import S3 from 'aws-sdk/clients/s3.js';
import { Meta } from '@/models/entities/meta.js';
import { getAgentByUrl } from '@/misc/fetch.js';

View File

@ -1,4 +1,4 @@
import * as push from 'web-push';
import push from 'web-push';
import config from '@/config/index.js';
import { SwSubscriptions } from '@/models/index.js';
import { fetchMeta } from '@/misc/fetch-meta.js';