Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 4e5d951

Browse files
authored
Merge pull request #54 from Alfresco/dev-mvitale-50
Fix bug null date
2 parents a35d3b4 + 13abfd2 commit 4e5d951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/alfresco-core-rest-api/src/ApiClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@
423423
case 'String':
424424
return String(data);
425425
case 'Date':
426-
return this.parseDate(String(data));
426+
return data ? this.parseDate(String(data)) : null;
427427
default:
428428
if (type === Object) {
429429
// generic object, return directly

0 commit comments

Comments
 (0)