mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 00:27:35 +00:00
Fix: Code readability
This commit is contained in:
@@ -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
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user