diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-13 04:00:02 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-13 04:00:02 +0900 |
| commit | a51fbd73165caa1d79c0c030aa011e6e01d12fc6 (patch) | |
| tree | 31c8a1bef1f8b1a4dc9d2d11351d1e9778baf099 /src/server/api/private | |
| parent | 11.0.0-beta.5 (diff) | |
| download | sharkey-a51fbd73165caa1d79c0c030aa011e6e01d12fc6.tar.gz sharkey-a51fbd73165caa1d79c0c030aa011e6e01d12fc6.tar.bz2 sharkey-a51fbd73165caa1d79c0c030aa011e6e01d12fc6.zip | |
Suppress errors
Diffstat (limited to 'src/server/api/private')
| -rw-r--r-- | src/server/api/private/signup.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/private/signup.ts b/src/server/api/private/signup.ts index ea4df060f8..4842a534bf 100644 --- a/src/server/api/private/signup.ts +++ b/src/server/api/private/signup.ts @@ -96,7 +96,7 @@ export default async (ctx: Koa.BaseContext) => { cipher: undefined, passphrase: undefined } - }, (e, publicKey, privateKey) => + } as any, (e, publicKey, privateKey) => e ? j(e) : s([publicKey, privateKey]) )); |