From 5ce37ad704026247a42d75e1782e03d73dc759e8 Mon Sep 17 00:00:00 2001 From: Annwan Date: Tue, 13 Aug 2024 01:30:16 +0200 Subject: [PATCH] [YQTemplate] fix typo --- yqtemplate.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yqtemplate.lua b/yqtemplate.lua index 1bad8a3..0531356 100644 --- a/yqtemplate.lua +++ b/yqtemplate.lua @@ -26,7 +26,7 @@ return { run = function(fcgi) fcgi.print("Content-Type: text/html; charset=utf-8\r\n\r\n") local data = nil - if fcgi.getenv("REQUEST_METHOD") == "POST" + if fcgi.getenv("REQUEST_METHOD") == "POST" then data = fcgi.post() end form({data = data})