mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 04:46:29 +03:00
refactor(@deltachat/stdio-rpc-server): remove await from README example
This commit is contained in:
@@ -18,7 +18,7 @@ import { startDeltaChat } from "@deltachat/stdio-rpc-server";
|
|||||||
import { C } from "@deltachat/jsonrpc-client";
|
import { C } from "@deltachat/jsonrpc-client";
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const dc = await startDeltaChat("deltachat-data");
|
const dc = startDeltaChat("deltachat-data");
|
||||||
console.log(await dc.rpc.getSystemInfo());
|
console.log(await dc.rpc.getSystemInfo());
|
||||||
dc.close()
|
dc.close()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user