*Reformat

This commit is contained in:
Derrick Hammer 2022-07-19 18:31:15 -04:00
parent 070b7825e2
commit 20e9511eae
15 changed files with 768 additions and 769 deletions

View File

@ -14,8 +14,7 @@ config.load({
}); });
try { try {
config.open("config.conf"); config.open("config.conf");
} catch (e) { } catch (e) {}
}
for (const setting of ["relay-domain", "afraid-username", "relay-seed"]) { for (const setting of ["relay-domain", "afraid-username", "relay-seed"]) {
if (!config.get(setting)) { if (!config.get(setting)) {

View File

@ -102,7 +102,7 @@ async function processRequest(request: RPCRequest): Promise<RPCResponse> {
method: request.query, method: request.query,
jsonrpc: "2.0", jsonrpc: "2.0",
params: request.data, params: request.data,
id: 1 id: 1,
} as unknown as JSONRPCRequest, } as unknown as JSONRPCRequest,
request.chain request.chain
); );