translation: team -> workspace

This commit is contained in:
Tom Moor
2023-10-18 08:32:43 -04:00
parent 89694a561f
commit d536fa9939
9 changed files with 26 additions and 23 deletions

View File

@@ -69,12 +69,16 @@ export function UserSuspendedError({
}: {
adminEmail: string | undefined;
}) {
return httpErrors(403, "Your access has been suspended by the team admin", {
id: "user_suspended",
errorData: {
adminEmail,
},
});
return httpErrors(
403,
"Your access has been suspended by a workspace admin",
{
id: "user_suspended",
errorData: {
adminEmail,
},
}
);
}
export function InvalidRequestError(message = "Request invalid") {