mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-21 22:11:37 +01:00
fix: ๐ getnode request limiter
This commit is contained in:
parent
43a20cdb93
commit
5b68684015
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ type NodeParent = {
|
|||
export const nodeResolvers = {
|
||||
Query: {
|
||||
getNode: async (_: undefined, params: any, context: ContextType) => {
|
||||
await requestLimiter(context.ip, 'closedChannels');
|
||||
await requestLimiter(context.ip, 'getNode');
|
||||
|
||||
const { withoutChannels = true, publicKey } = params;
|
||||
const { lnd } = context;
|
||||
|
|
Loadingโฆ
Add table
Reference in a new issue