Handle online / offline site

This commit is contained in:
Owen Schwartz 2024-12-19 21:27:40 -05:00
parent 01731c224f
commit b4b213e68f
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
3 changed files with 19 additions and 3 deletions

View file

@ -39,6 +39,7 @@ function querySites(orgId: string, accessibleSiteIds: number[]) {
megabytesOut: sites.megabytesOut,
orgName: orgs.name,
type: sites.type,
online: sites.online,
})
.from(sites)
.leftJoin(orgs, eq(sites.orgId, orgs.orgId))