From 603abc7dfe8e33fe2d236af68b67fc26afc62587 Mon Sep 17 00:00:00 2001 From: Maxence Maireaux Date: Mon, 6 May 2024 08:52:01 +0200 Subject: [PATCH] Fix formatting in licenseUsage.ts file. --- apps/web/server/trpc/routers/licenseUsage.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/server/trpc/routers/licenseUsage.ts b/apps/web/server/trpc/routers/licenseUsage.ts index d7d5d68..a5aa836 100644 --- a/apps/web/server/trpc/routers/licenseUsage.ts +++ b/apps/web/server/trpc/routers/licenseUsage.ts @@ -1,5 +1,5 @@ import { schema } from '@getlicensed/db'; -import {and, desc, eq, sql} from 'drizzle-orm'; +import { and, desc, eq, sql } from 'drizzle-orm'; import { z } from 'zod'; import { protectedProcedure, t } from '~/server/trpc/trpc'; import { generateLicenseKey } from '~/server/utils/license'; @@ -14,6 +14,6 @@ export const licenseUsageRouter = t.router({ FROM "License_usage" WHERE license_id = ${input.id} AND type = 'LICENSE_VALIDATE' GROUP BY time,action -ORDER BY time DESC LIMIT 10;`) +ORDER BY time DESC LIMIT 10;`); }), -}); \ No newline at end of file +});