Skip to content

Commit fcbbff9

Browse files
docs: fix typos in README.md (#69)
1 parent d694910 commit fcbbff9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import TypeORMAdapter from 'typeorm-adapter';
4141
async function myFunction() {
4242
// Initialize a TypeORM adapter and use it in a Node-Casbin enforcer:
4343
// The adapter can not automatically create database.
44-
// But the adapter will automatically and use the table named "casbin_rule".
44+
// But the adapter will automatically create and use the table named "casbin_rule".
4545
// I think ORM should not automatically create databases.
4646
const a = await TypeORMAdapter.newAdapter({
4747
type: 'mysql',
@@ -79,7 +79,7 @@ import TypeORMAdapter from 'typeorm-adapter';
7979
async function myFunction() {
8080
// Initialize a TypeORM adapter and use it in a Node-Casbin enforcer:
8181
// The adapter can not automatically create database.
82-
// But the adapter will automatically and use the table named "casbin_rule".
82+
// But the adapter will automatically create and use the table named "casbin_rule".
8383
// I think ORM should not automatically create databases.
8484
const a = await TypeORMAdapter.newAdapter({
8585
type: 'mysql',
@@ -134,7 +134,7 @@ class CustomCasbinRule extends CasbinRule {
134134
async function myFunction() {
135135
// Initialize a TypeORM adapter and use it in a Node-Casbin enforcer:
136136
// The adapter can not automatically create database.
137-
// But the adapter will automatically and use the table named "casbin_rule".
137+
// But the adapter will automatically create and use the table named "casbin_rule".
138138
// I think ORM should not automatically create databases.
139139
const a = await TypeORMAdapter.newAdapter({
140140
type: 'mysql',
@@ -194,7 +194,7 @@ class CustomCasbinRule extends CasbinRule {
194194
async function myFunction() {
195195
// Initialize a TypeORM adapter and use it in a Node-Casbin enforcer:
196196
// The adapter can not automatically create database.
197-
// But the adapter will automatically and use the table named "casbin_rule".
197+
// But the adapter will automatically create and use the table named "casbin_rule".
198198
// I think ORM should not automatically create databases.
199199

200200
const datasource = new DataSource({

0 commit comments

Comments
 (0)