Commit Graph

12 Commits

Author SHA1 Message Date
7094aa2bb5 Updated all imports to be relative to itself 2022-08-16 01:15:36 +02:00
5d91f1bae7 TODO sms code 2022-08-15 23:51:18 +02:00
d8985aaff7 Correctly use username from req.loggedInUser 2022-01-03 19:17:27 +01:00
be889b8100 Lining 2022-01-03 19:06:11 +01:00
95d2b0095b Linting 2022-01-03 18:23:49 +01:00
776f83553a Changed more instances of tmdb to new TMDB constructor not needing cache instance anymore. 2020-04-08 22:59:23 +02:00
6b737b8ab4 Updated all controller responses to return message not error on errors. 2019-11-04 00:57:27 +01:00
3b27af1f83 Error handling for themoviedb api response codes that are not 200. Started with 401 and 404. See issue #116 for info. 2019-07-26 21:52:20 +02:00
91dcfaccb9 Rewrote posting request controller to handle body parameters and use new requestsRepository function istead of plexRepository functions 2019-06-28 22:31:52 +02:00
91d238de7c Request id is now passed as body param. Database default timestamp value changed to epoch time. 2018-11-09 22:13:00 +01:00
4250b1bd17 request endpoint finds type by body not query. Better error handling on what goes wrong if incorrect type or missing body parameter. 2018-10-30 20:34:26 +01:00
5a48158f07 Request now happens at /request with id parameter and query for type selection. Only allows movie or show type and is static set in the controller. AddRequest adds tmdb item to database with time of request. 2018-10-30 19:20:52 +01:00