Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typescript/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 类型更新请求超时_Node.js_Typescript_Typeorm - Fatal编程技术网

Node.js 类型更新请求超时

Node.js 类型更新请求超时,node.js,typescript,typeorm,Node.js,Typescript,Typeorm,我在谷歌云上部署了以下TypeORM函数。它连接到SQL server,创建和选择请求都可以访问和返回值,因此它不是由于授权/连接问题造成的。请求不会更新记录,只是超时。非常感谢您的帮助 export const getProfileInformation = functions.region('europe-west2').https.onRequest(async (request, response) => { const connection = await connect();

我在谷歌云上部署了以下TypeORM函数。它连接到SQL server,创建和选择请求都可以访问和返回值,因此它不是由于授权/连接问题造成的。请求不会更新记录,只是超时。非常感谢您的帮助

export const getProfileInformation = functions.region('europe-west2').https.onRequest(async (request, response) => {

const connection = await connect();
const campaignRepp = connection.getRepository(profileInformation);

const { firebaseUID } = request.body;

const allinformationScreen = await campaignRepp
    .createQueryBuilder('profileInformation')
    .where("firebaseUID = :id", { id: firebaseUID }).getMany();

response.send(allinformationScreen);
});
这是我正在做的函数请求

{
"adID": "SecondInformationScreen
}