Implementing basic auth_grant
This commit is contained in:
@ -71,8 +71,11 @@ export default async function TestData() {
|
||||
name: "TestPerm",
|
||||
description: "Permission just for testing purposes",
|
||||
client: c._id
|
||||
})
|
||||
Permission.save(perm);
|
||||
});
|
||||
|
||||
await (await (Permission as any)._collection).insertOne(perm);
|
||||
|
||||
// Permission.save(perm);
|
||||
}
|
||||
|
||||
let r = await RegCode.findOne({ token: "test" });
|
||||
@ -138,4 +141,4 @@ export default async function TestData() {
|
||||
// })
|
||||
// Logging.debug("OTC Code is:", code);
|
||||
// }, 1000)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user