Node.js 类型更新请求超时
我在谷歌云上部署了以下TypeORM函数。它连接到SQL server,创建和选择请求都可以访问和返回值,因此它不是由于授权/连接问题造成的。请求不会更新记录,只是超时。非常感谢您的帮助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();
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
}