Browse Source

refactor(nocodb): remove unused code

pull/5770/head
Wing-Kam Wong 2 years ago
parent
commit
283cd8f566
  1. 5
      packages/nocodb/src/models/ProjectUser.ts

5
packages/nocodb/src/models/ProjectUser.ts

@ -174,11 +174,6 @@ export default class ProjectUser {
} }
static async delete(projectId: string, userId: string, ncMeta = Noco.ncMeta) { static async delete(projectId: string, userId: string, ncMeta = Noco.ncMeta) {
// await NocoCache.deepDel(
// CacheScope.PROJECT_USER,
// `${CacheScope.PROJECT_USER}:${projectId}:${userId}`,
// CacheDelDirection.CHILD_TO_PARENT
// );
const { email } = await ncMeta.metaGet2(null, null, MetaTable.USERS, { const { email } = await ncMeta.metaGet2(null, null, MetaTable.USERS, {
id: userId, id: userId,
}); });

Loading…
Cancel
Save