mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 10:28:42 +00:00
4.8.10 test (#2578)
* fix: auth error * perf: refresh members * fix: variable run * fix: runtime check * fix: dataset info show
This commit is contained in:
@@ -28,6 +28,10 @@ export async function authOpenApiKeyCrud({
|
||||
return Promise.reject(OpenApiErrEnum.unExist);
|
||||
}
|
||||
|
||||
if (String(openapi.teamId) !== teamId) {
|
||||
return Promise.reject(OpenApiErrEnum.unAuth);
|
||||
}
|
||||
|
||||
if (!!openapi.appId) {
|
||||
// if is not global openapi, then auth app
|
||||
const { app } = await authAppByTmbId({ appId: openapi.appId!, tmbId, per });
|
||||
|
Reference in New Issue
Block a user