fix: save chat and hook

This commit is contained in:
archer
2023-07-28 15:56:50 +08:00
parent a77e3880f4
commit 0a689b0ab8
5 changed files with 71 additions and 55 deletions

View File

@@ -179,10 +179,10 @@ export const authApp = async ({
authOwner?: boolean;
reserveDetail?: boolean; // focus reserve detail
}) => {
// 获取 model 数据
// 获取 app 数据
const app = await App.findById<AppSchema>(appId);
if (!app) {
return Promise.reject('模型不存在');
return Promise.reject('App is not exists');
}
/*