From 1a91b52e7c3b779926c542831096caaca8abc2ed Mon Sep 17 00:00:00 2001 From: Gustav Hansen Date: Tue, 23 Aug 2022 13:50:13 +0200 Subject: [PATCH] ML: Fix header prop-types --- packages/core/upload/admin/src/constants.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/upload/admin/src/constants.js b/packages/core/upload/admin/src/constants.js index c81204d302..e62cd61ea2 100644 --- a/packages/core/upload/admin/src/constants.js +++ b/packages/core/upload/admin/src/constants.js @@ -17,7 +17,7 @@ const ParentFolderDefinition = PropTypes.shape({ createdAt: PropTypes.string.isRequired, name: PropTypes.string.isRequired, updatedAt: PropTypes.string.isRequired, - pathId: PropTypes.number.isRequired, + pathId: PropTypes.string.isRequired, path: PropTypes.string.isRequired, }); @@ -37,7 +37,7 @@ export const FolderDefinition = PropTypes.shape({ parent: PropTypes.oneOfType([ParentFolderDefinition, PropTypes.number]), updatedAt: PropTypes.string.isRequired, updatedBy: PropTypes.shape(), - pathId: PropTypes.number.isRequired, + pathId: PropTypes.string.isRequired, path: PropTypes.string.isRequired, });