Skip to content

Commit 915940b

Browse files
committed
Fix linting
1 parent 845a861 commit 915940b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/nais-teams.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ describe("NaisTeams", () => {
9696
} as any);
9797

9898
await expect(naisTeams.lookupUser(email)).rejects.toThrow(
99-
mockResponse.errors[0].message
99+
mockResponse.errors[0].message,
100100
);
101101
});
102102
});

src/nais-teams.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export class NaisTeams {
103103

104104
if (json.data.user?.teams.pageInfo.hasNextPage) {
105105
logger.error(
106-
"lookupUser: user has more than 100 teams, pagination not implemented"
106+
"lookupUser: user has more than 100 teams, pagination not implemented",
107107
);
108108
}
109109

@@ -119,7 +119,7 @@ export class NaisTeams {
119119
* @returns A Promise that resolves to an object containing a status and user object.
120120
*/
121121
authorize = async (
122-
email: string
122+
email: string,
123123
): Promise<{ status: boolean; user: User | null }> => {
124124
const logger = getLogger("nais/nais-teams.ts");
125125

@@ -155,7 +155,7 @@ export class NaisTeams {
155155
}
156156

157157
const allowedTeams = teams.filter((team: any) =>
158-
this.allowedTeams.includes(team.team.slug)
158+
this.allowedTeams.includes(team.team.slug),
159159
);
160160

161161
logger.debug("authorize: allowed user teams", allowedTeams);

0 commit comments

Comments
 (0)