const tempClient = new Client()
.setEndpoint(process.env.NEXT_PUBLIC_APPWRITE_ENDPOINT!)
.setProject(process.env.NEXT_PUBLIC_APPWRITE_PROJECT!);
const tempTeams = new Teams(tempClient);
const membership = await tempTeams.updateMembershipStatus(
teamId,
membershipId,
userId,
secret
);
const tempAccount = new Account(tempClient);
await tempAccount.updateName(fullName);
await tempAccount.updatePassword(password);