diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-10-09 13:32:41 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-10-09 13:32:41 +0900 |
| commit | 4f20c871860d0f62aef77bc716c3cc2677d4a592 (patch) | |
| tree | f819d92c3e3eb413b4e9826d4360b21bfe9c5215 /packages/misskey-js/src/api.ts | |
| parent | refactor(backend): better argument name (diff) | |
| download | misskey-4f20c871860d0f62aef77bc716c3cc2677d4a592.tar.gz misskey-4f20c871860d0f62aef77bc716c3cc2677d4a592.tar.bz2 misskey-4f20c871860d0f62aef77bc716c3cc2677d4a592.zip | |
lint fixes
Diffstat (limited to 'packages/misskey-js/src/api.ts')
| -rw-r--r-- | packages/misskey-js/src/api.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/misskey-js/src/api.ts b/packages/misskey-js/src/api.ts index 974cb35ace..9415e692e3 100644 --- a/packages/misskey-js/src/api.ts +++ b/packages/misskey-js/src/api.ts @@ -67,8 +67,7 @@ export class APIClient { IsCaseMatched<E, P, 8> extends true ? GetCaseResult<E, P, 8> : IsCaseMatched<E, P, 9> extends true ? GetCaseResult<E, P, 9> : Endpoints[E]['res']['$switch']['$default'] - : Endpoints[E]['res']> - { + : Endpoints[E]['res']> { const promise = new Promise((resolve, reject) => { this.fetch(`${this.origin}/api/${endpoint}`, { method: 'POST', |