we now return 424

This commit is contained in:
Girish Ramakrishnan
2018-09-10 10:36:32 -07:00
parent c79f43bb27
commit 0f5c290785
2 changed files with 2 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ app.controller('RestoreController', ['$scope', '$http', 'Client', function ($sco
$scope.busy = false;
if (error) {
if (error.statusCode === 402) {
if (error.statusCode === 424) {
$scope.error.generic = error.message;
if (error.message.indexOf('AWS Access Key Id') !== -1) {