diff options
| author | Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com> | 2019-08-18 12:42:58 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-08-18 12:42:58 +0900 |
| commit | 59493a0cd99f269c9896c49b78e8b3913527c9da (patch) | |
| tree | b40f8cbeaa206766fdf6f5d52e15e9812ae46e8b /src/server/api/service/github.ts | |
| parent | リモートユーザー向けのNoteUnreadsレコードは作成しないよ... (diff) | |
| download | sharkey-59493a0cd99f269c9896c49b78e8b3913527c9da.tar.gz sharkey-59493a0cd99f269c9896c49b78e8b3913527c9da.tar.bz2 sharkey-59493a0cd99f269c9896c49b78e8b3913527c9da.zip | |
uuid() と lint (#5288)
* Import only v4 uuid, uuid() without version is deprecated
* Add Missing semicolon
Diffstat (limited to 'src/server/api/service/github.ts')
| -rw-r--r-- | src/server/api/service/github.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/service/github.ts b/src/server/api/service/github.ts index de1e15f079..b78459e8c3 100644 --- a/src/server/api/service/github.ts +++ b/src/server/api/service/github.ts @@ -5,7 +5,7 @@ import { OAuth2 } from 'oauth'; import config from '../../../config'; import { publishMainStream } from '../../../services/stream'; import redis from '../../../db/redis'; -import * as uuid from 'uuid'; +import { v4 as uuid } from 'uuid'; import signin from '../common/signin'; import { fetchMeta } from '../../../misc/fetch-meta'; import { Users, UserProfiles } from '../../../models'; |