From d5865078b1b29e4345975eba86218ee6a913ccb7 Mon Sep 17 00:00:00 2001 From: Ava Gaiety W Date: Thu, 19 Jun 2025 12:04:38 -0600 Subject: [PATCH] codestats api not included in REPO (revoke api key) --- nvim/lua/plugins/codestats.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nvim/lua/plugins/codestats.lua b/nvim/lua/plugins/codestats.lua index e743e54..1aba91a 100644 --- a/nvim/lua/plugins/codestats.lua +++ b/nvim/lua/plugins/codestats.lua @@ -5,13 +5,13 @@ return { cmd = { "CodeStatsXpSend", "CodeStatsProfileUpdate" }, config = function() require("codestats").setup({ - username = "gaiety", -- needed to fetch profile data + username = "gaiety", -- needed to fetch profile data base_url = "https://codestats.net", -- codestats.net base url - api_key = "SFMyNTY.WjJGcFpYUjUjI01qSXhPVFU9.fMtCrS4QvdQKCgS_pasnqpWGUyrk3At646kPkN7LIn8", - send_on_exit = true, -- send xp on nvim exit - send_on_timer = true, -- send xp on timer - timer_interval = 60000, -- timer interval in milliseconds (minimum 1000ms to prevent DDoSing codestat.net servers) - curl_timeout = 5, -- curl request timeout in seconds + api_key = "", -- fill with your codestats machine API + send_on_exit = true, -- send xp on nvim exit + send_on_timer = true, -- send xp on timer + timer_interval = 60000, -- timer interval in milliseconds (minimum 1000ms to prevent DDoSing codestat.net servers) + curl_timeout = 5, -- curl request timeout in seconds }) end, }