Skip to content

Commit 94dd023

Browse files
committed
Remove redundant code and fix linting issues
1 parent 8da2551 commit 94dd023

File tree

2 files changed

+2
-37
lines changed

2 files changed

+2
-37
lines changed

matching-service/src/lib/hasher.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import crypto from 'crypto';
33
export const generateMatchId = (userId: string, matchId: string): string => {
44
// Concatenate the IDs
55
const combinedIds = `${userId}-${matchId}`;
6-
6+
77
// Hash the concatenated string using SHA-256
88
return crypto.createHash('sha256').update(combinedIds).digest('hex');
9-
};
9+
};

peerprep-fe/src/lib/socket.ts

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)