Skip to content
Snippets Groups Projects
Commit df54caf6 authored by Merov Linden's avatar Merov Linden
Browse files

MAINT-2301 : Do not treat 404 errors (server returns not found) as 403 errors...

MAINT-2301 : Do not treat 404 errors (server returns not found) as 403 errors (forbidden, i.e. resident is not a merchant)
parent bb841e7d
Branches
Tags
No related merge requests found
...@@ -479,8 +479,7 @@ void LLMarketplaceInventoryImporter::updateImport() ...@@ -479,8 +479,7 @@ void LLMarketplaceInventoryImporter::updateImport()
{ {
U32 status = LLMarketplaceImport::getResultStatus(); U32 status = LLMarketplaceImport::getResultStatus();
if ((status == MarketplaceErrorCodes::IMPORT_FORBIDDEN) || if ((status == MarketplaceErrorCodes::IMPORT_FORBIDDEN) ||
(status == MarketplaceErrorCodes::IMPORT_AUTHENTICATION_ERROR) || (status == MarketplaceErrorCodes::IMPORT_AUTHENTICATION_ERROR))
(status == MarketplaceErrorCodes::IMPORT_NOT_FOUND))
{ {
mMarketPlaceStatus = MarketplaceStatusCodes::MARKET_PLACE_NOT_MERCHANT; mMarketPlaceStatus = MarketplaceStatusCodes::MARKET_PLACE_NOT_MERCHANT;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment