Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,3 @@ Make sure you have all necessary environment variables and dependencies set up b
# References

- https://learn.microsoft.com/en-us/linkedin/dma/member-data-portability/member-data-portability-member

# ⌛️ TODO: List

- Core logic
- error handling, detect "empty" response (not yet connected)
- measure time and return to storage in DB for metabase stats
- more tests, integration test?
- Send result to SQS queue
- Script to get linkedin token
2 changes: 1 addition & 1 deletion src/services/linkedin-profile.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class LinkedinProfileService {

const linkedinProfile = { profile, skills, positions, education };
const isEmptyProfile = this.isEmptyProfile(profile);
const timeElapsed = (Date.now() - startTime) / 1000;
const timeElapsed = Date.now() - startTime; // in milliseconds
logger.debug(`🧐 [LinkedinProfileService] Linkedin profile retrieved: ${JSON.stringify(linkedinProfile)}`);

return { linkedinProfile, isEmptyProfile, timeElapsed };
Expand Down
Loading