Merge branch 'preprod'

This commit is contained in:
Vins 2024-10-21 09:38:44 +02:00
commit fe2fa650f6
4 changed files with 6 additions and 2 deletions

View File

@ -125,6 +125,7 @@ export default class UserController extends ApiController {
const accessToken = this.authService.generateAccessToken(payload);
const refreshToken = this.authService.generateRefreshToken(payload);
console.log("SUCCESSFUL LOGIN");
this.httpSuccess(response, { accessToken, refreshToken });
} catch (error) {

View File

@ -43,7 +43,7 @@ export default class AnchoringProofService extends BaseService {
</html>
`;
await page.setContent(htmlContent, { waitUntil: "networkidle0", timeout: 60000 });
await page.setContent(htmlContent, { waitUntil: "networkidle0", timeout: 1200000 });
await page.addStyleTag({
content: `
@page {

View File

@ -11,6 +11,7 @@ import { EOfficeStatus } from "@prisma/client";
import OfficeRolesService from "@Services/super-admin/OfficeRolesService/OfficeRolesService";
import DeedTypesService from "@Services/super-admin/DeedTypesService/DeedTypesService";
import DocumentTypesService from "@Services/super-admin/DocumentTypesService/DocumentTypesService";
import * as Sentry from "@sentry/node";
interface IIdNotToken {
access_token: string;
@ -396,6 +397,7 @@ export default class IdNotService extends BaseService {
console.log("userData", userData);
} catch (error) {
console.error("Error fetching " + `${this.variables.IDNOT_API_BASE_URL}/api/pp/v2/rattachements/${decodedToken.profile_idn}?`, error);
Sentry.captureException(error);
return null;
}
@ -412,6 +414,7 @@ export default class IdNotService extends BaseService {
).json()) as IOfficeLocation;
} catch (error) {
console.error("Error fetching" + `${this.variables.IDNOT_API_BASE_URL + userData.entite.locationsUrl}` , error);
Sentry.captureException(error);
return null;
}

View File

@ -33,7 +33,7 @@ export default class StripeService {
return this.client.checkout.sessions.create({
mode: "subscription",
payment_method_types: ["card"],
payment_method_types: ["card", "sepa_debit"],
billing_address_collection: "auto",
line_items: [
{