Skip to content

Commit

Permalink
Merge pull request #2676 from glific/org-settings
Browse files Browse the repository at this point in the history
add missing mutation to update organization default language
  • Loading branch information
mdshamoon authored Jan 2, 2024
2 parents 5f25674 + 60e5019 commit 19174a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/containers/SettingList/Organisation/Organisation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ export const Organisation = () => {
name: payload.name,
activeLanguageIds,
signaturePhrase: payload.signaturePhrase,
defaultLanguageId: payload.defaultLanguage.id,
};
return object;
};
Expand Down
4 changes: 4 additions & 0 deletions src/graphql/mutations/Organization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ export const UPDATE_ORGANIZATION = gql`
id
shortcode
name
defaultLanguage {
id
label
}
outOfOffice {
defaultFlowId
enabled
Expand Down

0 comments on commit 19174a1

Please sign in to comment.