Skip to content

Commit caf1d2e

Browse files
committed
database: type db.remove_collaborator_from_project
1 parent e37c545 commit caf1d2e

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

src/packages/database/postgres/types.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@ export interface PostgreSQL extends EventEmitter {
155155
cb: CB;
156156
}): void;
157157

158+
remove_collaborator_from_project(opts: {
159+
account_id: string;
160+
project_id: string;
161+
cb: CB;
162+
}): void;
163+
158164
user_is_in_project_group(opts: {
159165
account_id: string;
160166
project_id: string;

src/packages/frontend/collaborators/current-collabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
2+
* This file is part of CoCalc: Copyright © 2025 Sagemath, Inc.
33
* License: MS-RSL – see LICENSE.md for details
44
*/
55

src/packages/server/projects/collaborators.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ export async function removeCollaborator({
132132
});
133133
}
134134

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

0 commit comments

Comments
 (0)