4 Commits

Author SHA1 Message Date
7dca30b57d
fix(auth): check for discord callback error status, update string copy 2023-08-16 01:04:56 +01:00
3727c84f3e
refactor: code style changes
Signed-off-by: miguel456 <me@nogueira.codes>
2023-01-15 00:04:00 +00:00
294c678283 Fix broken opt-in notifications 2022-02-11 00:51:16 +00:00
8942623bde
Added services
This commit moves most controller logic onto Services. Services are part of the Service-Repository pattern. The models act as repositories.

Services are easily testable and are needed for the upcoming API, in order to avoid duplicated code and to maintain a single source of "truth".

 The User, Vacancy and Vote controllers still need their logic moved onto services.
2021-07-25 22:54:15 +01:00