Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
database: type db.remove_collaborator_from_project
  • Loading branch information
haraldschilly committed Dec 12, 2025
commit caf1d2edc7fec05e3ab6c954c7adbae23236bedf
6 changes: 6 additions & 0 deletions src/packages/database/postgres/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ export interface PostgreSQL extends EventEmitter {
cb: CB;
}): void;

remove_collaborator_from_project(opts: {
account_id: string;
project_id: string;
cb: CB;
}): void;

user_is_in_project_group(opts: {
account_id: string;
project_id: string;
Expand Down
2 changes: 1 addition & 1 deletion src/packages/frontend/collaborators/current-collabs.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* This file is part of CoCalc: Copyright © 2025 Sagemath, Inc.
* License: MS-RSL – see LICENSE.md for details
*/

Expand Down
1 change: 0 additions & 1 deletion src/packages/server/projects/collaborators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ export async function removeCollaborator({
});
}

// @ts-ignore
await callback2(db().remove_collaborator_from_project, opts);
}

Expand Down