Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: req per coverage for docker #110

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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: add list check
Signed-off-by: Sarthak Shyngle <50234097+Sarthak160@users.noreply.github.com>
  • Loading branch information
Sarthak160 committed May 13, 2024
commit 09bff4cb9a27a5e2e73e9f92780b2b64beed1eb0
5 changes: 4 additions & 1 deletion 5 v2/dedup/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ export function afterMiddleware(req: Request, res: Response) {
}



if (!Array.isArray(existingData)) {
console.error('Expected an array for existingData, but got:', typeof existingData);
existingData = []; // Reset to an empty array or handle accordingly
}
// Add or update the entry for the current id
existingData.push(currentData);

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.