We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a0d21c commit fff8fa4Copy full SHA for fff8fa4
1 file changed
lib/server.ts
@@ -773,6 +773,21 @@ export class Server {
773
}
774
775
776
+ public async cvVisits(
777
+ referenceNrs: string[],
778
+ ): Promise<Record<string, VisitedCv>> {
779
+ if (referenceNrs.length === 0) return {}
780
+ return await this.fetch(
781
+ this.isAppMode
782
+ ? "/api/private/scraper/visited-cvs/by-references"
783
+ : "/api/v1/visitedCvs/byReferences",
784
+ {
785
+ method: "POST",
786
+ body: referenceNrs,
787
+ },
788
+ )
789
+ }
790
+
791
// Send a message to the error channel within the Script / Backtocode slack.
792
// Only visible for us developers.. hence internal.
793
public get internalSlack(): Slack {
0 commit comments