Skip to content

Commit

Permalink
Merge pull request #9 from halidm/master
Browse files Browse the repository at this point in the history
Fix removeFilteredPolicy (fixes #8)
  • Loading branch information
juicycleff authored Nov 20, 2020
2 parents 759b61d + be753a9 commit e9efc9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export class MongoAdapter implements Adapter {
fieldIndex: number,
...fieldValues: string[]
) {
const line = new CasbinRule();
const line = {};

line.ptype = ptype;

Expand Down

0 comments on commit e9efc9e

Please sign in to comment.