Skip to content

Commit

Permalink
fix: update deprecated notificationConfig in healthcare API
Browse files Browse the repository at this point in the history
  • Loading branch information
noerog authored and iennae committed Sep 12, 2024
1 parent c30d1d0 commit 2e2a5ae
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions healthcare/fhir/patchFhirStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ const main = (
name,
updateMask: 'notificationConfigs',
resource: {
notificationConfigs: {
pubsubTopic: `projects/${projectId}/topics/${pubsubTopic}`,
},
notificationConfigs: [
{
pubsubTopic: `projects/${projectId}/topics/${pubsubTopic}`,
},
],
},
};

Expand Down

0 comments on commit 2e2a5ae

Please sign in to comment.