Updated standard error code

This commit is contained in:
netkas 2025-02-19 14:57:47 -05:00
parent 2f59c9c16c
commit 1f9890bba0
3 changed files with 27 additions and 13 deletions

View file

@ -32,7 +32,7 @@
if(!$session->flagExists(SessionFlags::VER_TERMS_OF_SERVICE))
{
return $rpcRequest->produceError(StandardError::FORBIDDEN, 'Terms of service has already been accepted');
return $rpcRequest->produceError(StandardError::METHOD_NOT_ALLOWED, 'Terms of service has already been accepted');
}
try