Skip to content

Commit c30d1d0

Browse files
noerogiennae
authored andcommitted
fix: update deprecated notificationConfig in healthcare API
1 parent b0f95bc commit c30d1d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

healthcare/fhir/patchFhirStore.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ const main = (
4040
const name = `projects/${projectId}/locations/${cloudRegion}/datasets/${datasetId}/fhirStores/${fhirStoreId}`;
4141
const request = {
4242
name,
43-
updateMask: 'notificationConfig',
43+
updateMask: 'notificationConfigs',
4444
resource: {
45-
notificationConfig: {
45+
notificationConfigs: {
4646
pubsubTopic: `projects/${projectId}/topics/${pubsubTopic}`,
4747
},
4848
},

0 commit comments

Comments
 (0)