Skip to content

added condition to either connect to local db when server set to loca…

Codacy Production / Codacy Static Code Analysis required action Jul 17, 2024 in 0s

7 new issues (0 max.) of at least critical severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 6
- Added 7
           

Clones removed
==============
+ database/index.js  -2
         

See the complete overview on Codacy

Annotations

Check failure on line 49 in database/index.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

database/index.js#L49

You have a misspelled word: upsert on Identifier

Check failure on line 63 in database/index.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

database/index.js#L63

You have a misspelled word: Oauth on Identifier

Check failure on line 11 in helpers/ORMs/Mongoose/index.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

helpers/ORMs/Mongoose/index.js#L11

You have a misspelled word: localhost on String

Check failure on line 12 in helpers/ORMs/Mongoose/index.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

helpers/ORMs/Mongoose/index.js#L12

You have a misspelled word: mongodb on Template

Check failure on line 10 in helpers/ORMs/Mongoose/schemas/oauthtokens.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

helpers/ORMs/Mongoose/schemas/oauthtokens.js#L10

You have a misspelled word: timestamps on Identifier

Check failure on line 10 in helpers/ORMs/Mongoose/schemas/users.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

helpers/ORMs/Mongoose/schemas/users.js#L10

You have a misspelled word: timestamps on Identifier

Check failure on line 18 in package.json

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

package.json#L18

You have a misspelled word: nodemon on String