From 02d6c96580f9473dd80a9a40256e04e4cee37d0b Mon Sep 17 00:00:00 2001 From: Mikko Koski Date: Thu, 28 Dec 2017 10:53:50 +0200 Subject: [PATCH] Remove details from API error prop type `details` field has been removed from the SDK. --- src/util/propTypes.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/util/propTypes.js b/src/util/propTypes.js index 1d610910..5b2bde9a 100644 --- a/src/util/propTypes.js +++ b/src/util/propTypes.js @@ -383,10 +383,6 @@ export const apiError = shape({ status: number.isRequired, code: oneOf(ERROR_CODES).isRequired, title: string.isRequired, - details: shape({ - data: object, - msg: string, - }), }); // Storable error prop type. (Error object should not be stored as it is.)