Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 6b6b698

Browse files
fix: adding gig external Id
1 parent d67e7d7 commit 6b6b698

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/api/docs/swagger.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ components:
266266
- status
267267
- remark
268268
- interview
269+
- jobExternalId
269270
properties:
270271
title:
271272
type: string
@@ -311,6 +312,10 @@ components:
311312
description: "The remark of candidate"
312313
interview:
313314
$ref: "#/components/schemas/Interview"
315+
jobExternalId:
316+
type: string
317+
example: "51313517"
318+
description: "The corresponding gig ID on community app"
314319
Payment:
315320
required:
316321
- min

src/api/services/JobApplicationService.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ async function getMyJobApplications(currentUser, criteria) {
9595
: null,
9696
remark: jobCandidate.remark,
9797
duration: job.duration,
98+
jobExternalId: job.externalId,
9899
};
99100
});
100101
return {

0 commit comments

Comments
 (0)