From 0928319c381a442ffa95f92dc3fa3263d56d32ab Mon Sep 17 00:00:00 2001 From: RGBCube Date: Tue, 30 Apr 2024 12:56:08 +0300 Subject: [PATCH] Prefer lib.strings.toJSON --- hosts/cube/matrix/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/cube/matrix/default.nix b/hosts/cube/matrix/default.nix index 75c4681..b100275 100644 --- a/hosts/cube/matrix/default.nix +++ b/hosts/cube/matrix/default.nix @@ -11,7 +11,7 @@ let wellKnownResponse = data: '' default_type application/json; add_header Access-Control-Allow-Origin *; - return 200 '${builtins.toJSON data}'; + return 200 '${strings.toJSON data}'; ''; clientConfig."m.homeserver".base_url = "https://${chatDomain}";