homarr-labs / homarr

Use shorthand property syntax for object literals JS-0240
Anti-pattern
Minor
2 occurrences in this check
Expected property shorthand
34      await db.insert(apiKeys).values({
35        id: createId(),
36        apiKey: hashedRandomToken,
37        salt: salt,38        userId: ctx.session.user.id
39      });
40      return {
45    req,
46    endpoint: "/",
47    router: appRouter,
48    createContext: () => createTRPCContext({ session: session, headers: req.headers }),49  });
50};
51