Merge branch 'preprod'
This commit is contained in:
commit
fe2fa650f6
@ -125,6 +125,7 @@ export default class UserController extends ApiController {
|
|||||||
|
|
||||||
const accessToken = this.authService.generateAccessToken(payload);
|
const accessToken = this.authService.generateAccessToken(payload);
|
||||||
const refreshToken = this.authService.generateRefreshToken(payload);
|
const refreshToken = this.authService.generateRefreshToken(payload);
|
||||||
|
console.log("SUCCESSFUL LOGIN");
|
||||||
|
|
||||||
this.httpSuccess(response, { accessToken, refreshToken });
|
this.httpSuccess(response, { accessToken, refreshToken });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
@ -43,7 +43,7 @@ export default class AnchoringProofService extends BaseService {
|
|||||||
</html>
|
</html>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
await page.setContent(htmlContent, { waitUntil: "networkidle0", timeout: 60000 });
|
await page.setContent(htmlContent, { waitUntil: "networkidle0", timeout: 1200000 });
|
||||||
await page.addStyleTag({
|
await page.addStyleTag({
|
||||||
content: `
|
content: `
|
||||||
@page {
|
@page {
|
||||||
|
@ -11,6 +11,7 @@ import { EOfficeStatus } from "@prisma/client";
|
|||||||
import OfficeRolesService from "@Services/super-admin/OfficeRolesService/OfficeRolesService";
|
import OfficeRolesService from "@Services/super-admin/OfficeRolesService/OfficeRolesService";
|
||||||
import DeedTypesService from "@Services/super-admin/DeedTypesService/DeedTypesService";
|
import DeedTypesService from "@Services/super-admin/DeedTypesService/DeedTypesService";
|
||||||
import DocumentTypesService from "@Services/super-admin/DocumentTypesService/DocumentTypesService";
|
import DocumentTypesService from "@Services/super-admin/DocumentTypesService/DocumentTypesService";
|
||||||
|
import * as Sentry from "@sentry/node";
|
||||||
|
|
||||||
interface IIdNotToken {
|
interface IIdNotToken {
|
||||||
access_token: string;
|
access_token: string;
|
||||||
@ -396,6 +397,7 @@ export default class IdNotService extends BaseService {
|
|||||||
console.log("userData", userData);
|
console.log("userData", userData);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Error fetching " + `${this.variables.IDNOT_API_BASE_URL}/api/pp/v2/rattachements/${decodedToken.profile_idn}?`, error);
|
console.error("Error fetching " + `${this.variables.IDNOT_API_BASE_URL}/api/pp/v2/rattachements/${decodedToken.profile_idn}?`, error);
|
||||||
|
Sentry.captureException(error);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -412,6 +414,7 @@ export default class IdNotService extends BaseService {
|
|||||||
).json()) as IOfficeLocation;
|
).json()) as IOfficeLocation;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Error fetching" + `${this.variables.IDNOT_API_BASE_URL + userData.entite.locationsUrl}` , error);
|
console.error("Error fetching" + `${this.variables.IDNOT_API_BASE_URL + userData.entite.locationsUrl}` , error);
|
||||||
|
Sentry.captureException(error);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ export default class StripeService {
|
|||||||
|
|
||||||
return this.client.checkout.sessions.create({
|
return this.client.checkout.sessions.create({
|
||||||
mode: "subscription",
|
mode: "subscription",
|
||||||
payment_method_types: ["card"],
|
payment_method_types: ["card", "sepa_debit"],
|
||||||
billing_address_collection: "auto",
|
billing_address_collection: "auto",
|
||||||
line_items: [
|
line_items: [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user