Skip to content

Commit

Permalink
修复
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Aug 25, 2023
1 parent a1251b8 commit 0cf5b86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/api/embedding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ export function retrySection(

function decodeEmbeddingProjectSecureFields(data: any) {
data.name = decodeSecureField(data.name)
data.memberInfo.nickname = decodeSecureField(data.memberInfo.nickname)
if (data.memberInfo)
data.memberInfo.nickname = decodeSecureField(data.memberInfo.nickname)
data.publicList = PublicProjectStatus.OPEN === data.publicProject?.status
}

Expand Down

0 comments on commit 0cf5b86

Please sign in to comment.