Revert "add test comment for docker build issue"

This reverts commit fdac590a02.
This commit is contained in:
Maidul Islam
2023-01-28 11:16:29 -08:00
parent 3ef2ac8a77
commit 8a9e05b08f
2 changed files with 1 additions and 17 deletions

View File

@@ -57,7 +57,7 @@ import { healthCheck } from './routes/status';
import { getLogger } from './utils/logger';
import { RouteNotFoundError } from './utils/errors';
import { requestErrorHandler } from './middleware/requestErrorHandler';
// test comment
// patch async route params to handle Promise Rejections
patchRouterParam();

View File

@@ -1,16 +0,0 @@
import { defineAbility } from '@casl/ability';
export const defineWorkspaceAbilityFor = (user: any) => defineAbility((can) => {
// can('manage', 'all');
// console.log("workspace ===>", workspace)
// if (user) {
can(["read", "delete", "update"], "Workspace", { name: "Example Projects" })
// }
// if (user.isLoggedIn) {
// can('update', 'Article', { authorId: user.id });
// can('create', 'Comment');
// can('update', 'Comment', { authorId: user.id });
// }
});