fix: server side error on /apps (#11485)

This commit is contained in:
Udit Takkar 2023-09-22 13:19:30 +05:30 committed by GitHub
parent 2648e2770f
commit 5943763726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ const getUserAdminTeams = async ({
name: user.name || "me",
logo: user?.avatar === "" ? null : user?.avatar,
isUser: true,
credentials: includeCredentials ? [] : user.credentials,
credentials: includeCredentials ? user.credentials : [],
parent: null,
};
teams.unshift(userObject);