Fix: Code readability

This commit is contained in:
Daniel Hougaard
2024-03-17 18:49:30 +01:00
parent 8f42914df5
commit 700a072ec5
+2 -2
View File
@@ -53,8 +53,8 @@ export const registerLoginRouter = async (server: FastifyZodProvider) => {
handler: async (req, res) => { handler: async (req, res) => {
const cfg = getConfig(); const cfg = getConfig();
const tokens = await server.services.login.selectOrganization({ const tokens = await server.services.login.selectOrganization({
userAgentHeader: req.headers["user-agent"], userAgent: req.headers["user-agent"],
authorizationHeader: req.headers.authorization, authJwtToken: req.headers.authorization,
organizationId: req.body.organizationId, organizationId: req.body.organizationId,
ipAddress: req.realIp ipAddress: req.realIp
}); });