From 6d004fde7cde8e33d9855e4ee16fae2d5b25e6d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Thu, 31 Jan 2019 23:45:12 +0900 Subject: [PATCH] Module 'uuid' as import syntax (#4070) --- src/server/api/service/discord.ts | 2 +- src/server/api/service/github.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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';