Skip to content

Commit

Permalink
fixed linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Mick Piereder committed Apr 12, 2024
1 parent 18b52e4 commit 7b534aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/duplocloud/datasource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class DataSource {
getTenantsForUser(): Observable<UserTenant[]> {
return this.api
.get<UserTenant[]>('/admin/GetTenantsForUser')
.pipe(map((list: Array<Partial<UserTenant>>) => list.map(item => new UserTenant(item))))
.pipe(map((list: Partial<UserTenant>[]) => list.map(item => new UserTenant(item))))
}

getTenant(idOrName: string): Observable<UserTenant | undefined> {
Expand Down
1 change: 1 addition & 0 deletions src/duplocloud/httpclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export class DuploHttpClient {
return this.doFetch(path, 'DELETE', null, options)
}

// eslint-disable-next-line @typescript-eslint/promise-function-async
private doFetch<T>(
path: string,
method: string,

Check failure on line 48 in src/duplocloud/httpclient.ts

View workflow job for this annotation

GitHub Actions / build

'@typescript-eslint/promise-function-async' rule is disabled but never reported
Expand Down

0 comments on commit 7b534aa

Please sign in to comment.