feat(server): adapt normal workspace's invite link behavior (#9130)

This commit is contained in:
DarkSky
2024-12-12 20:32:32 +08:00
committed by GitHub
parent e15a298b80
commit ab1ad65858
3 changed files with 92 additions and 46 deletions

View File

@@ -112,7 +112,6 @@ export async function acceptInviteById(
})
.expect(200);
if (res.body.errors) {
console.error(res.body.errors);
throw new Error(res.body.errors[0].message, {
cause: res.body.errors[0].cause,
});