diff --git a/src/requests/team.ts b/src/requests/team.ts index 9f607615..cef8aeb6 100644 --- a/src/requests/team.ts +++ b/src/requests/team.ts @@ -271,7 +271,7 @@ async function getBySlug(client: GraphQLClient, slug: string) { } teamSettings: team_settings { boundaryUrl: boundary_url - boundaryJson: boundary_json + boundaryBbox: boundary_bbox referenceCode: reference_code helpEmail: help_email helpPhone: help_phone @@ -452,6 +452,7 @@ async function updateTeamSettings( team_id: teamId, teamSettings: { boundary_url: teamSettings.boundaryUrl, + boundary_bbox: teamSettings.boundaryBbox, reference_code: teamSettings.referenceCode, help_email: teamSettings.helpEmail, help_phone: teamSettings.helpPhone, diff --git a/src/types/team.ts b/src/types/team.ts index 5bd109ba..bb86b7aa 100644 --- a/src/types/team.ts +++ b/src/types/team.ts @@ -21,7 +21,7 @@ export interface TeamTheme { export interface TeamSettings { boundaryUrl: string; - boundaryJson?: GeoJsonObject; + boundaryBbox?: GeoJsonObject; referenceCode: string; helpEmail: string; helpPhone: string;