From 3bab80711bfadaaeaa26b966ab18d1037c9583cc Mon Sep 17 00:00:00 2001 From: AMAICDAX Date: Tue, 9 Sep 2025 15:59:31 +0200 Subject: [PATCH] modif --- controllers/linkedin.js | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/controllers/linkedin.js b/controllers/linkedin.js index 2d81576..a1fac28 100644 --- a/controllers/linkedin.js +++ b/controllers/linkedin.js @@ -2,7 +2,7 @@ const axios = require("axios"); const querystring = require("querystring"); -import puppeteer from "puppeteer"; +const puppeteer = require("puppeteer"); const clientId = "780w7gsy8eysmj"; const clientSecret = "WPL_AP1.w6OTTkAndAdT3PYF.UZEcwQ=="; diff --git a/package.json b/package.json index a4a5e92..ad1191b 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "express": "^4.17.1", "axios": "^0.21.1", "dotenv": "^8.2.0", - "express-session": "^1.17.1" + "express-session": "^1.17.1", + "puppeteer": "^21.3.8" }, "author": "ExostFlash", "license": "ISC",