Skip to content

Commit 7bbb9f5

Browse files
chore(passport): Undo treatment for 409
1 parent 1f22809 commit 7bbb9f5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Source/Immutable/Private/Immutable/Actions/ImtblPassportImxRegisterOffchainAsyncAction.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,5 @@ void UImtblPassportImxRegisterOffchainAsyncAction::OnImxRegisterOffchainResponse
4949
}
5050
}
5151

52-
// Handle 409 Conflict error - user already registered
53-
// This is a normal case and should be treated as success
54-
if (Result.Error.Contains(TEXT("409")) || Result.Error.Contains(TEXT("conflict"), ESearchCase::IgnoreCase) ||
55-
Result.Error.Contains(TEXT("already registered"), ESearchCase::IgnoreCase))
56-
{
57-
IMTBL_LOG("User is already registered offchain (409 response treated as success)");
58-
OnSuccess.Broadcast(TEXT(""), TEXT(""));
59-
return;
60-
}
61-
6252
OnFailure.Broadcast(TEXT(""), Result.Error);
6353
}

0 commit comments

Comments
 (0)