Skip to content

Files

Latest commit

99d378b · Apr 24, 2019

History

History
33 lines (21 loc) · 924 Bytes

tc.md

File metadata and controls

33 lines (21 loc) · 924 Bytes

tc

Collection of small Topcoder-related functions.

Todo

  • More TC-related utils should be moved here from Community-app.

tc.REVIEW_OPPORTUNITY_TYPES

Review Opportunity types

Kind: static constant of tc

tc.getApiResponsePayload(res) ⇒ Promise

Gets payload from a standard success response from TC v2 API; or throws an error in case of a failure response.

Kind: static method of tc
Returns: Promise - Resolves to the payload.

Param Type
res Object