SIGN IN SIGN UP

fix: correct HTTP method case comparison in httpApiRequest (#1865)

Express req.method returns uppercase strings ('GET', 'POST', etc.),
so `req.method === 'get'` never matches. This caused GET requests
to fall through to the else-if branch instead of directly using
req.query as the payload.

Closes NapNeko/NapCatQQ#1864
L
liuwanwan committed
a716a1a185a5a853d40e4b6c03690d5a63228818
Parent: 8c9fc7e
Committed by GitHub <noreply@github.com> on 5/26/2026, 2:41:33 PM