Fix: Code readability

This commit is contained in:
Daniel Hougaard
2024-03-13 14:16:28 +01:00
parent 8f42914df5
commit 700a072ec5

View File

@@ -53,8 +53,8 @@ export const registerLoginRouter = async (server: FastifyZodProvider) => {
handler: async (req, res) => {
const cfg = getConfig();
const tokens = await server.services.login.selectOrganization({
userAgentHeader: req.headers["user-agent"],
authorizationHeader: req.headers.authorization,
userAgent: req.headers["user-agent"],
authJwtToken: req.headers.authorization,
organizationId: req.body.organizationId,
ipAddress: req.realIp
});