mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-14 03:34:23 +00:00
error 204 crash the RPC server. changing the 204 error to 404 when data not found
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user