|
|
127db88ded
|
Renamed function name and comment to make for sense. Also deconstruct page from query
|
2019-06-28 18:45:53 +02:00 |
|
|
|
7cb55ce054
|
Fetchall uses promises smarter. Now the utils functions also return promises to be able to nicely chain the steps a request needs to go through. Promise all lets us wait for all items return in the map function. Without the map function would return immidiately and resolve before the map operation completed.
|
2018-11-10 20:26:28 +01:00 |
|
|
|
840816c930
|
request returns all requested items. Optional sort, query and filter params.
|
2018-11-10 01:50:24 +01: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 |
|