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

Commit bc9761b

Browse files
author
dengjun
committed
ci:deploying profile integration
1 parent 64c9a50 commit bc9761b

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ workflows:
7676
filters:
7777
branches:
7878
only:
79-
- dev
79+
- integration-b
8080

8181
# Production builds are exectuted only on tagged commits to the
8282
# master branch.

config/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = {
1212
COMMUNITY_APP: "https://community-app.topcoder-dev.com",
1313
PLATFORM_WEBSITE_URL: "http://local.topcoder-dev.com:8008",
1414
},
15-
RECRUIT_API: process.env.RECRUIT_API || "https://www.topcoder-dev.com",
15+
RECRUIT_API: "https://www.topcoder-dev.com",
1616
// the server api base path
1717
API_BASE_PATH: process.env.API_BASE_PATH || "/earn-app/api/my-gigs",
1818
// the log level, default is 'debug'

config/development.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ module.exports = {
1111
COMMUNITY_APP: "https://community-app.topcoder-dev.com",
1212
PLATFORM_WEBSITE_URL: "http://local.topcoder-dev.com:8008",
1313
},
14+
RECRUIT_API: "https://www.topcoder-dev.com",
1415
};

config/production.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ module.exports = {
1111
COMMUNITY_APP: "https://community-app.topcoder.com",
1212
PLATFORM_WEBSITE_URL: "http://local.topcoder-dev.com:8008",
1313
},
14+
RECRUIT_API: "https://www.topcoder.com",
1415
};

src/api/mock-api/mock-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ app.get("/api/recruit/profile", (req, res) => {
2323
const result = {
2424
phone: "555-555-55-55",
2525
resume: "https://resume.topcoder.com/1234567",
26-
availibility: true,
26+
availability: true,
2727
};
2828
res.status(200).json(result);
2929
});

src/api/services/ProfileService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async function getMyProfile(currentUser) {
3333
country: _.get(member, "competitionCountryCode", null),
3434
phone: _.get(recruitProfile, "phone", null),
3535
resume: _.get(recruitProfile, "resume", null),
36-
availability: _.get(recruitProfile, "availibility", true),
36+
availability: _.get(recruitProfile, "availability", true),
3737
};
3838
}
3939

src/services/myGigs.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,7 @@ async function getProfile() {
113113
city: profile.city,
114114
country: profile.country,
115115
phone: profile.phone,
116-
file: {
117-
name: profile.resume,
118-
},
116+
file: null,
119117
status: profile.availability
120118
? GIG_STATUS.AVAILABLE
121119
: GIG_STATUS.UNAVAILABLE,

0 commit comments

Comments
 (0)