Skip to content

Commit 3ff4153

Browse files
authored
Use new nais-api query structure (#196)
1 parent 70fb87e commit 3ff4153

File tree

3 files changed

+364
-182
lines changed

3 files changed

+364
-182
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"google-auth-library": "^9.11.0",
2626
"jsonwebtoken": "^9.0.2",
2727
"log4js": "^6.9.1",
28-
"unleash-server": "5.12.4"
28+
"unleash-server": "5.12.8"
2929
},
3030
"devDependencies": {
3131
"@eslint/js": "^9.7.0",

src/nais-teams.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const lookupUserQuery = `query LookupUser($email: String!) {
2323
user(email: $email) {
2424
name
2525
email
26-
teams(limit: 100) {
26+
teams(first: 100) {
2727
nodes {
2828
role
2929
team {

0 commit comments

Comments
 (0)