Skip to content

Maithili: instagram autoposter changes - #2326

Open
maithili20 wants to merge 4 commits into
developmentfrom
maithili-instagram-autoposter-be
Open

Maithili: instagram autoposter changes#2326
maithili20 wants to merge 4 commits into
developmentfrom
maithili-instagram-autoposter-be

fix: sonarcloud issues

5edf9c4
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Sep 4, 2026 in 11m 4s

Quality Gate failed

Failed conditions
14.7% Coverage on New Code (required ≥ 80%)
B Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 122 in src/controllers/instagramController.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this code to not log user-controlled data.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaBuoZKCQFzF_RdrA7RH&open=AaBuoZKCQFzF_RdrA7RH&pullRequest=2326

Check warning on line 78 in src/controllers/instagramController.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of the unused 'altText' variable.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaBKlccq69uhNReJfISE&open=AaBKlccq69uhNReJfISE&pullRequest=2326

Check warning on line 3 in src/controllers/instagramController.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:crypto` over `crypto`.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaBKlccq69uhNReJfISD&open=AaBKlccq69uhNReJfISD&pullRequest=2326

Check warning on line 1 in src/controllers/instagramController.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:fs` over `fs`.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaBKlccq69uhNReJfISB&open=AaBKlccq69uhNReJfISB&pullRequest=2326

Check warning on line 6 in src/cronjobs/instagramTokenRefreshJob.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The arrow function should be named.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaBKlchL69uhNReJfISP&open=AaBKlchL69uhNReJfISP&pullRequest=2326

Check warning on line 2 in src/controllers/instagramController.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:path` over `path`.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaBKlccq69uhNReJfISC&open=AaBKlccq69uhNReJfISC&pullRequest=2326

Check warning on line 78 in src/controllers/instagramController.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to variable "altText".

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaBKlccq69uhNReJfISF&open=AaBKlccq69uhNReJfISF&pullRequest=2326

Check warning on line 7 in src/services/instagramServices.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use concise character class syntax '\w' instead of '[A-Za-z0-9_]'.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaBuoZOlQFzF_RdrA7RI&open=AaBuoZOlQFzF_RdrA7RI&pullRequest=2326

Check warning on line 28 in src/app.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:path` over `path`.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HGNRest&issues=AaBKlcjP69uhNReJfISR&open=AaBKlcjP69uhNReJfISR&pullRequest=2326