mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 10:34:17 +00:00
lowercase method for better handling
This commit is contained in:
parent
4e1ccea56b
commit
63e8752ac5
@ -196,7 +196,7 @@ class Server {
|
|||||||
...endpoint,
|
...endpoint,
|
||||||
route: route,
|
route: route,
|
||||||
handlers: {
|
handlers: {
|
||||||
[endpoint.method]: endpoint.fn,
|
[endpoint.method.toLowerCase()]: endpoint.fn,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user