corrected subscription typo

This commit is contained in:
Abhinav-grd 2021-02-22 16:45:33 +05:30
parent 5e5df08f6e
commit f7c1e6912a
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ import errorCodes from 'utils/common/errorCodes';
export default function AlertBanner({ bannerErrorCode }) {
let errorMessage;
switch (bannerErrorCode) {
case errorCodes.ERR_NO_ACTIVE_SUBSRICTION:
case errorCodes.ERR_NO_ACTIVE_SUBSCRIPTION:
errorMessage = constants.SUBSCRIPTION_EXPIRED;
break;
case errorCodes.ERR_STORAGE_LIMIT_EXCEEDED:

View file

@ -1,6 +1,6 @@
const errorCodes = {
ERR_STORAGE_LIMIT_EXCEEDED: '426',
ERR_NO_ACTIVE_SUBSRICTION: '402',
ERR_NO_ACTIVE_SUBSCRIPTION: '402',
ERR_NO_INTERNET_CONNECTION: '1',
};