diff --git a/src/server/api/service/discord.ts b/src/server/api/service/discord.ts index d7a3b93ac9..30f077d224 100644 --- a/src/server/api/service/discord.ts +++ b/src/server/api/service/discord.ts @@ -6,7 +6,7 @@ import User, { pack, ILocalUser } from '../../../models/user'; import config from '../../../config'; import { publishMainStream } from '../../../stream'; import redis from '../../../db/redis'; -import uuid = require('uuid'); +import * as uuid from 'uuid'; import signin from '../common/signin'; import fetchMeta from '../../../misc/fetch-meta'; diff --git a/src/server/api/service/github.ts b/src/server/api/service/github.ts index e26a225993..c8ce494a93 100644 --- a/src/server/api/service/github.ts +++ b/src/server/api/service/github.ts @@ -6,7 +6,7 @@ import User, { pack, ILocalUser } from '../../../models/user'; import config from '../../../config'; import { publishMainStream } from '../../../stream'; import redis from '../../../db/redis'; -import uuid = require('uuid'); +import * as uuid from 'uuid'; import signin from '../common/signin'; import fetchMeta from '../../../misc/fetch-meta';