mirror of
https://github.com/smogon/pokemon-showdown-loginserver.git
synced 2026-04-26 01:31:42 -05:00
Fix request batching
This commit is contained in:
parent
a36804d03b
commit
0f049d1dba
|
|
@ -146,7 +146,7 @@ export class ActionContext {
|
|||
} catch {}
|
||||
}
|
||||
|
||||
if (result.act === 'json') {
|
||||
if (result.act === 'json' || typeof result.json === 'string') {
|
||||
json = result.json;
|
||||
delete result.json;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user