Skip to content

Commit 4557dd3

Browse files
Merge pull request #101 from DSACMS/natalialuzuriaga-patch-5
Fixed metadataLastUpdated capitalization in date object
2 parents 388cb23 + a8a80ba commit 4557dd3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

js/autoGenerateFields.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ async function preFillFields(repoData, languages) {
257257

258258
currentDate.created = repoData.created_at;
259259
currentDate.lastModified = repoData.updated_at
260-
currentDate.metaDataLastUpdated = new Date().toISOString()
260+
currentDate.metadataLastUpdated = new Date().toISOString()
261261

262262
dateComp.setValue(currentDate)
263263
}
@@ -329,4 +329,4 @@ window.showErrorNotification = function (message) {
329329

330330
window.showSuccessNotification = function (message) {
331331
notificationSystem.success(message);
332-
};
332+
};

schemas/cms/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
"format": "date-time",
345345
"description": "Date when the project was last modified"
346346
},
347-
"metaDataLastUpdated": {
347+
"metadataLastUpdated": {
348348
"type": "string",
349349
"format": "date-time",
350350
"description": "Date when metadata was last updated"
@@ -511,4 +511,4 @@
511511
"maturityModelTier"
512512
],
513513
"additionalProperties": false
514-
}
514+
}

schemas/gov/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@
283283
"format": "date-time",
284284
"description": "Date when the project was last modified"
285285
},
286-
"metaDataLastUpdated": {
286+
"metadataLastUpdated": {
287287
"type": "string",
288288
"format": "date-time",
289289
"description": "Date when metadata was last updated"
@@ -347,4 +347,4 @@
347347
"AIUseCaseID"
348348
],
349349
"additionalProperties": true
350-
}
350+
}

0 commit comments

Comments
 (0)