Skip to content

Commit ccc7e99

Browse files
authored
Rename RPCHandler to RPCApiHandler in customization guide (#488)
1 parent 8f23a27 commit ccc7e99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/the-complete-guide/part3/4-customization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ app.use('/api/rpc-custom', async (req: Request, res: Response) => {
4747
const url = req.protocol + '://' + req.get('host') + req.originalUrl;
4848
const searchParams = new URL(url).searchParams;
4949
const query = Object.fromEntries(searchParams);
50-
const handler = RPCHandler();
50+
const handler = RPCApiHandler();
5151

5252
const { status, body } = await handler({
5353
method: req.method,

0 commit comments

Comments
 (0)