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

Refactor API helper function param structure #2347

Merged
merged 11 commits into from
Jan 9, 2025

refactor: refactor postAuthenticatedRequest to use object parameter

b5798a1
Select commit
Loading
Failed to load commit list.
Merged

Refactor API helper function param structure #2347

refactor: refactor postAuthenticatedRequest to use object parameter
b5798a1
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Jan 2, 2025 in 11s

2 issues fixed. 3 issues found.

Annotations

Check notice on line 78 in pages/sites/[slug]/[locale]/profile/bulk-codes/[method]/[id].tsx

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pages/sites/[slug]/[locale]/profile/bulk-codes/[method]/[id].tsx#L60-L78

Complex Method

Check warning on line 45 in src/utils/apiRequests/api.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/utils/apiRequests/api.ts#L45

Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)

Check warning on line 35 in src/utils/apiRequests/api.ts

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/utils/apiRequests/api.ts#L35

Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)