Skip to content

Commit 21aa4bb

Browse files
authored
fix(sensitive): only return needed fields (#725)
1 parent 553d246 commit 21aa4bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/services/user/sensitive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class UserSensitiveService {
4242
},
4343
});
4444

45-
return result;
45+
return result.map(({ type, content }) => ({ type, content }));
4646
}
4747
}
4848

0 commit comments

Comments
 (0)