mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-05-13 13:58:57 +00:00
Fix eslint annotations
This commit is contained in:
parent
97b891c453
commit
327f6e616e
2 changed files with 3 additions and 2 deletions
1
.gitallowed
Normal file
1
.gitallowed
Normal file
|
|
@ -0,0 +1 @@
|
|||
946220775492-a5v6bsdin6o7ncnqn34snuatmrp7dqh0.apps.googleusercontent.com
|
||||
|
|
@ -713,12 +713,12 @@ export class RestApiClient {
|
|||
// 'GET', new URL('https://oauth2.googleapis.com/revoke'), headers, parameters);
|
||||
// }
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
private async fetchAuthenticated<T>(
|
||||
method: string,
|
||||
url: URL,
|
||||
headers: Map<string, string>,
|
||||
parameters?: Map<string, string>,
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
data?: any
|
||||
): Promise<T> {
|
||||
const httpHeaders = new Map(headers);
|
||||
|
|
@ -731,12 +731,12 @@ export class RestApiClient {
|
|||
return this.fetchUnauthenticated(method, url, httpHeaders, parameters, data);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
private async fetchUnauthenticated<T>(
|
||||
method: string,
|
||||
url: URL,
|
||||
headers: Map<string, string>,
|
||||
parameters?: Map<string, string>,
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
data?: any
|
||||
): Promise<T> {
|
||||
const customHeaders = new Headers();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue