Loading packages/server/src/api/admin.ts +7 −0 Original line number Diff line number Diff line Loading @@ -303,6 +303,13 @@ app.put("/canvas/undo", async (req, res) => { ? paletteColors.find((p) => p.hex === coveredPixel.color)?.id || -1 : -1, }); // TODO: this spams the log, it would be nicer if it combined LogMan.log("mod_rollback", user_sub, { x: pixel.pixel.x, y: pixel.pixel.y, hex: coveredPixel?.color, }); break; } case "rejected": Loading Loading
packages/server/src/api/admin.ts +7 −0 Original line number Diff line number Diff line Loading @@ -303,6 +303,13 @@ app.put("/canvas/undo", async (req, res) => { ? paletteColors.find((p) => p.hex === coveredPixel.color)?.id || -1 : -1, }); // TODO: this spams the log, it would be nicer if it combined LogMan.log("mod_rollback", user_sub, { x: pixel.pixel.x, y: pixel.pixel.y, hex: coveredPixel?.color, }); break; } case "rejected": Loading