83d9b30048
Request wine front & backend talk nicer togheter.
...
- requestWineController validates wine object and returns helpfull
error repsonse if anything is missing.
- requestWine uses new endpoint and calls api from within itself.
- Linting.
2021-02-19 00:29:05 +01:00
4043954f95
Split request into controller and repo.
...
Also try returning better error message on exceptions and check for
errors in payload to return well-defined errors.
2021-01-11 20:52:22 +01:00
ad27ba8b33
Require statements now use path.join correctly.
2020-11-24 23:37:14 +01:00
f01b58c1b6
Removed trailing whitespace.
2020-10-26 13:10:01 +01:00
Adrian Thompson
ea278a4892
remove console log
2020-09-07 14:50:40 +02:00
Adrian Thompson
4a98e79414
fix conflicts and rework routes
2020-09-07 14:49:24 +02:00
Adrian Thompson
ed6ac2ac01
move api call, remove delete requested wine button, rename emit
2020-09-04 15:42:03 +02:00
Adrian Thompson
a5ae46f5c3
working delete requested wine if admin
2020-09-01 10:17:17 +02:00
Adrian Thompson
543a7a6eb3
some cleanup and css fix for mobile
2020-08-30 17:27:03 +02:00
Adrian Thompson
7b7895728b
loko
2020-08-28 17:01:53 +02:00