summaryrefslogtreecommitdiff
path: root/node/src
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-05-26 19:54:00 +0200
committerAylur <[email protected]>2024-05-26 19:54:00 +0200
commitae2b733af5d4693534bec237e38c0a57716f4c37 (patch)
treeb3d33e5b6f86173e6150a9c52a2565eab80a87a4 /node/src
parent9d83811e3f3158a356ece00971db4765205732a9 (diff)
rename vfunc_response to vfunc_request
Diffstat (limited to 'node/src')
-rw-r--r--node/src/application.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/src/application.ts b/node/src/application.ts
index bc0f47f..f7598f8 100644
--- a/node/src/application.ts
+++ b/node/src/application.ts
@@ -36,10 +36,10 @@ class AstalJS extends Astal.Application {
requestHandler?: RequestHandler
- vfunc_response(msg: string, conn: any): void {
+ vfunc_request(msg: string, conn: any): void {
if (typeof this.requestHandler === "function") {
this.requestHandler(msg, response => {
- Astal.writeSock(conn, response, (_, res) =>
+ Astal.writeSock(conn, String(response), (_, res) =>
Astal.writeSockFinish(res),
)
})