feat(time): add span-based attendance tracking under 2.0
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { installTimeCompatibility } from "../../modules/time-v2/compatibility";
|
||||
import { FastifyInstance } from "fastify"
|
||||
import {
|
||||
stafftimeentries,
|
||||
@@ -18,6 +19,7 @@ import {z} from "zod";
|
||||
import {enrichSpansWithStatus} from "../../modules/time/enrichtimespanswithstatus.service";
|
||||
|
||||
export default async function staffTimeRoutesInternal(server: FastifyInstance) {
|
||||
installTimeCompatibility(server, true);
|
||||
|
||||
|
||||
server.post("/staff/time/event", async (req, reply) => {
|
||||
|
||||
Reference in New Issue
Block a user