From fcbbff90e7f9eadeec70cd912c713db7068dda82 Mon Sep 17 00:00:00 2001 From: Anton Fomichev Date: Sat, 14 Oct 2023 16:30:29 +0300 Subject: [PATCH] docs: fix typos in README.md (#69) --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bce6d25..1aa1d6d 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ import TypeORMAdapter from 'typeorm-adapter'; async function myFunction() { // Initialize a TypeORM adapter and use it in a Node-Casbin enforcer: // The adapter can not automatically create database. - // But the adapter will automatically and use the table named "casbin_rule". + // But the adapter will automatically create and use the table named "casbin_rule". // I think ORM should not automatically create databases. const a = await TypeORMAdapter.newAdapter({ type: 'mysql', @@ -79,7 +79,7 @@ import TypeORMAdapter from 'typeorm-adapter'; async function myFunction() { // Initialize a TypeORM adapter and use it in a Node-Casbin enforcer: // The adapter can not automatically create database. - // But the adapter will automatically and use the table named "casbin_rule". + // But the adapter will automatically create and use the table named "casbin_rule". // I think ORM should not automatically create databases. const a = await TypeORMAdapter.newAdapter({ type: 'mysql', @@ -134,7 +134,7 @@ class CustomCasbinRule extends CasbinRule { async function myFunction() { // Initialize a TypeORM adapter and use it in a Node-Casbin enforcer: // The adapter can not automatically create database. - // But the adapter will automatically and use the table named "casbin_rule". + // But the adapter will automatically create and use the table named "casbin_rule". // I think ORM should not automatically create databases. const a = await TypeORMAdapter.newAdapter({ type: 'mysql', @@ -194,7 +194,7 @@ class CustomCasbinRule extends CasbinRule { async function myFunction() { // Initialize a TypeORM adapter and use it in a Node-Casbin enforcer: // The adapter can not automatically create database. - // But the adapter will automatically and use the table named "casbin_rule". + // But the adapter will automatically create and use the table named "casbin_rule". // I think ORM should not automatically create databases. const datasource = new DataSource({