welsh translations of account details

This commit is contained in:
2023-05-24 12:42:17 +01:00
parent 275258562e
commit 3dd4525770
15 changed files with 330 additions and 67 deletions
+2 -2
View File
@@ -43,9 +43,9 @@ export default async function ApiProxy(req, res) {
var queryUrl =
"contacts(" +
contactid +
")?$select=firstname, lastname, emailaddress1, telephone1, company, address1_line1,address1_line2,address1_city, address1_county,address1_postalcode,pinswg_typeofinvolvement&$count=true";
")?$select=firstname, lastname, emailaddress1, telephone1, company, address1_line1,address1_line2,address1_city, address1_county,address1_postalcode,pinswg_typeofinvolvement,pinswg_preferredlanguage&$count=true";
//console.log(WEBAPI_URL + queryUrl + hashAPIPath(queryUrl));
console.log(WEBAPI_URL + queryUrl + hashAPIPath(queryUrl));
var apiResponse =
contactid.length > 0
+3 -1
View File
@@ -12,7 +12,7 @@
import axios from "axios";
import CryptoJS from "crypto-js";
import { getToken } from "../../../actions";
import { getToken, consoleLogger } from "../../../actions";
const WORDKEY = process.env.HASHKEY;
@@ -52,6 +52,8 @@ export default async function ApiProxy(req, res) {
data: data,
};
console.log(config);
return axios(config)
.then(({ data }) => {
res.status(200).json(data);