fix: add correct url

This commit is contained in:
Arman committed 2022-06-30 11:56:19 +02:00
1 parent 7d06b7c225
commit cf5f39c3fb
1 file changed
+3 -2
@@ -14,13 +14,14 @@
let name: string, email: string, roles: [];
const create = async () => {
const url = `${$page.url.origin}/console/${$page.params.project}/users/teams/${$page.params.team}/members`;
try {
//TODO update url to correct one?
const user = await sdkForProject.teams.createMembership(
teamId,
email,
roles,
$page.url.origin,
url,
name
);
addNotification({