From: xangelo Date: Fri, 9 Jun 2023 15:26:34 +0000 (-0400) Subject: remove unnecessary logs/vars X-Git-Tag: v0.0.1~49 X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=d946e3e78aca57d27c3508bc7d874a11c12d8665;p=risinglegends.git remove unnecessary logs/vars --- diff --git a/src/server/skills.ts b/src/server/skills.ts index dc13426..59d5075 100644 --- a/src/server/skills.ts +++ b/src/server/skills.ts @@ -23,11 +23,9 @@ export async function getPlayerSkillsAsObject(playerId: string): Promise) { const sql = []; - const params = []; each(skills, (val, skillId) => { sql.push(`update player_skills set exp = exp + ${val} where id = '${skillId}' and player_id = '${playerId}'`); }); - console.log(sql); await db.raw(sql.join(';')); }