Commit Graph

12 Commits (c40680b81e6c62332392ec6c66ccc5a2b17ebf2e)

Author SHA1 Message Date
mrugesh f090730015
fix(api): send json messages for challenge routes (#37494) 2019-10-24 17:30:23 +05:30
Stuart Taylor 892e6862ed fix: reduce the number of db calls for getSessionUser (#37385)
* Fix: Reduce the number of db calls for getSessionUser

* Fix unit tests
2019-10-18 05:47:37 +05:30
xyozio 657a5e2c16 cleanup: typos and remove commented out code (#36573) 2019-08-09 23:57:26 +05:30
Bouncey 72a0d63aa0 fix: Centralise user deserialization 2019-03-05 15:57:46 +05:30
Mrugesh Mohapatra 58edfce838 chore: fixup linting the api tests 2019-02-25 19:14:52 +00:00
Valeriy S 1faa8dc0c1 fix: set a max-len rule for eslint 2019-02-26 00:18:46 +05:30
Bouncey 1c6df3649b chore: Add readme for boot_tests directory 2019-02-26 00:17:02 +05:30
Bouncey f743f4edf5 fix: Convert ints to strings for validation 2019-02-26 00:17:02 +05:30
Bouncey 014c26cd4e fix: Add tests for redirectToLearn 2019-02-26 00:17:02 +05:30
Bouncey 953e1b2e11 feat: Add tests for challenge>buildUserUpdate 2019-02-26 00:17:02 +05:30
Bouncey 75190d3a43 feat: Add challenge validation middleware 2019-02-26 00:17:02 +05:30
Stuart Taylor 675d6a76e4 Fix: Current challenge timeout (#35352)
<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->

- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md).
- [x] My pull request has a descriptive title (not a vague title like `Update index.md`)
- [x] My pull request targets the `master` branch of freeCodeCamp.

Closes #35345

This PR resolves an issue where the `/challenges/current-challenge` request times out due to an unresolved promise.
2019-02-22 17:19:12 +05:30