error 204 crash the RPC server. changing the 204 error to 404 when data not found

This commit is contained in:
adator
2025-11-23 00:53:03 +01:00
parent b527282bf2
commit 9e688f7964
4 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,4 @@
from typing import TYPE_CHECKING
from starlette.responses import JSONResponse
from core.classes.interfaces.irpc_endpoint import IRPC
from core.classes.modules.rpc.rpc_errors import JSONRPCErrorCode