Commit eaa32dcb authored by Grant's avatar Grant
Browse files

remove unused userid

parent 03ed15f4
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@ type Pixel = {
  x: number;
  y: number;
  hex: "unset" | string;
  who: string;
};

let workerId: number;
@@ -241,7 +240,6 @@ const getPixelsAsLog = async (start: number, end: number) => {
      pixels.push({
        x: dbpixel.x,
        y: dbpixel.y,
        who: dbpixel.userId,
        date: dbpixel.createdAt.getTime(),
        hex: dbpixel.color,
      });
@@ -252,7 +250,6 @@ const getPixelsAsLog = async (start: number, end: number) => {
      pixels.push({
        x: dbpixel.x,
        y: dbpixel.y,
        who: dbpixel.userId,
        date: dbpixel.deletedAt.getTime(),
        hex: coveringColorCache.get(cacheKey) || "ffffff",
      });
@@ -271,7 +268,6 @@ const dbPixelsToLog = (dbpixels: DBPixel[]) => {
      y: dbpixel.y,
      date: dbpixel.createdAt.getTime(),
      hex: dbpixel.color,
      who: dbpixel.userId,
    });
  }