mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-20 10:45:52 +00:00
4.6.4-alpha (#569)
This commit is contained in:
@@ -19,6 +19,7 @@ export async function authApp({
|
||||
AuthResponseType & {
|
||||
teamOwner: boolean;
|
||||
app: AppDetailType;
|
||||
role: `${TeamMemberRoleEnum}`;
|
||||
}
|
||||
> {
|
||||
const result = await parseHeaderCert(props);
|
||||
@@ -65,6 +66,7 @@ export async function authApp({
|
||||
return {
|
||||
...result,
|
||||
app,
|
||||
role,
|
||||
isOwner,
|
||||
canWrite,
|
||||
teamOwner: role === TeamMemberRoleEnum.owner
|
||||
|
Reference in New Issue
Block a user