Skip to content

Commit

Permalink
Transform dataset contacts to string (#1218)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elson9 authored Jan 16, 2025
1 parent b6d32fa commit 5055584
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion feeds/testdata/dataset.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
"name": "travel planning"
}
],
"contacts": "[{\"name\":\"DataBC Operations\",\"email\":\"data@gov.bc.ca\",\"org\":\"d2e433a1-b785-4d03-8a2b-392069175eb4\",\"role\":\"pointOfContact\",\"displayed\":true}]",
"contacts": "[{\"name\":\"DataBC Operations\",\"email\":\"data@gov.bc.ca\",\"org\":\"d2e433a1-b785-4d03-8a2b-392069175eb4\",\"role\":\"pointOfContact\",\"displayed\":[\"displayed\"]}]",
"resource_status": "completed",
"tracking_summary": {
"total": 917,
Expand Down
1 change: 1 addition & 0 deletions src/batch/data-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const metadata = {
transformations: {
tags: { name: 'toStringDefaultArray' },
resources: { name: 'toStringDefaultArray' },
contacts: { name: 'toStringDefaultArray' },
organization: {
name: 'connectOne',
key: 'organization.id',
Expand Down

0 comments on commit 5055584

Please sign in to comment.