From 9df3ccbab657aeb22f79d8a8ae5ea6330516cb9f 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 d7a3b93ac..30f077d22 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 e26a22599..c8ce494a9 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';