fix isPermissionIDExistedFunc

This commit is contained in:
Hoang 2021-11-16 16:05:37 +07:00
parent e8547dfcda
commit 73ef7d69db
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ func countByCondition(ctx context.Context, cond interface{}) int64 {
func isPermissionIDExisted(ctx context.Context, permissionID primitive.ObjectID) bool {
var (
col = database.GetRoleCol()
col = database.GetPermissionCol()
)
// Find
cond := bson.M{