Move e2e to buildjet (#6840)

This commit is contained in:
Joe Au-Yeung 2023-02-02 03:42:28 -05:00 committed by GitHub
parent 1f1cab2be1
commit 34db46869e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ concurrency:
jobs:
e2e:
timeout-minutes: 20
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2204
env:
DATABASE_URL: postgresql://postgres:@localhost:5432/calendso

View File

@ -687,7 +687,7 @@ export const viewerTeamsRouter = router({
},
},
});
type UserMap = Record<number, (typeof teams)[number]["members"][number]["user"]>;
type UserMap = Record<number, typeof teams[number]["members"][number]["user"]>;
// flattern users to be unique by id
const users = teams
.flatMap((t) => t.members)