Skip to content

Commit

Permalink
Remove unused imports (please install a linter so I don't have to be …
Browse files Browse the repository at this point in the history
…your garbage collector, thanks)
  • Loading branch information
NicoBiernat committed Sep 14, 2023
1 parent 2db12b7 commit 25f888f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Server/src/routes/tracker.route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { authenticateJWT, jsonParser } from "."
import TrackerService from "../services/tracker.service"
import { LteRecordField0, LteRecordField6, UplinkLteTracker, UplinkTracker } from "../models/api.tracker"
import please_dont_crash from "../utils/please_dont_crash"
import { Log, Prisma, Tracker, Vehicle } from "@prisma/client"
import { Prisma, Tracker, Vehicle } from "@prisma/client"
import database from "../services/database.service"
import { Tracker as APITracker } from "../models/api"
import { z } from "zod"
Expand Down Expand Up @@ -71,7 +71,7 @@ export class TrackerRoute {
return
}

const lastLog = await database.logs.getLatestLog(undefined, tracker.uid,)
const lastLog = await database.logs.getLatestLog(undefined, tracker.uid)

const apiTracker: z.infer<typeof APITracker> = {
id: tracker.uid,
Expand Down
2 changes: 0 additions & 2 deletions Server/src/routes/vehicle.route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ import { logger } from "../utils/logger"
import { authenticateJWT, jsonParser } from "."
import { Log, Track, Tracker, Vehicle, VehicleType } from "@prisma/client"
import VehicleService from "../services/vehicle.service"
import { Feature, Point } from "geojson"
import please_dont_crash from "../utils/please_dont_crash"
import database from "../services/database.service"
import GeoJSONUtils from "../utils/geojsonUtils"
import TrackService from "../services/track.service"
import { z } from "zod"

/**
Expand Down

0 comments on commit 25f888f

Please sign in to comment.