Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: flesh in api router #806

Merged
merged 3 commits into from
Feb 10, 2024
Merged

feat: flesh in api router #806

merged 3 commits into from
Feb 10, 2024

Conversation

hxtree
Copy link
Owner

@hxtree hxtree commented Feb 10, 2024

No description provided.

@hxtree hxtree merged commit 3221c6b into main Feb 10, 2024
8 of 11 checks passed
@hxtree hxtree deleted the feature/flesh-in-api-router branch February 10, 2024 17:12
const { path, query } = req;
const queryParams = new URLSearchParams(query).toString();
const fullPath = queryParams ? `${path}?${queryParams}` : path;
return this.routerService.routeRequest(fullPath, null, 'GET');

Check failure

Code scanning / CodeQL

Reflected cross-site scripting High

Cross-site scripting vulnerability due to a
user-provided value
.
Cross-site scripting vulnerability due to a
user-provided value
.
@Post('*')
async postRoute(@Body() body: any, @Req() req: any): Promise<any> {
const { path } = req;
return this.routerService.routeRequest(path, body, 'POST');

Check failure

Code scanning / CodeQL

Reflected cross-site scripting High

Cross-site scripting vulnerability due to a
user-provided value
.
Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-0.17%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (a086d75) 2092 1568 74.95%
Head commit (e34a9d9) 2078 (-14) 1554 (-14) 74.78% (-0.17%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#806) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

You may notice some variations in coverage metrics with the latest Coverage engine update. For more details, visit the documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant