Skip to content

Commit 2e2a5ae

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

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

healthcare/fhir/patchFhirStore.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ const main = (
4242
name,
4343
updateMask: 'notificationConfigs',
4444
resource: {
45-
notificationConfigs: {
46-
pubsubTopic: `projects/${projectId}/topics/${pubsubTopic}`,
47-
},
45+
notificationConfigs: [
46+
{
47+
pubsubTopic: `projects/${projectId}/topics/${pubsubTopic}`,
48+
},
49+
],
4850
},
4951
};
5052

0 commit comments

Comments
 (0)