docs/refactor: add AI disclosure and clean up code style

This commit is contained in:
2026-04-18 00:00:45 +02:00
parent 4f2ce0349c
commit 56ccfe63b6
5 changed files with 50 additions and 31 deletions

View File

@@ -47,9 +47,12 @@ end
--- @return string|nil error message
function M.login(username, password)
local result = vim.system({
"curl", "-s",
"--data-urlencode", "username=" .. username,
"--data-urlencode", "password=" .. password,
"curl",
"-s",
"--data-urlencode",
"username=" .. username,
"--data-urlencode",
"password=" .. password,
JASPER_URL .. "/api/v1/token/login/",
}, { text = true }):wait()