Feature/permanent delete person (#579) #289
release.yml
on: push
Build API docker image
4m 17s
Build migrations docker image
1m 7s
Scan k8s manifests
19s
Build seed docker image
3m 39s
Release to prod
19s
Annotations
1 warning
Release to prod
embed field value must be shorter than 1024, got 1175
[`3a41008`](https://github.com/podkrepi-bg/api/commit/3a41008a4f40714ca2a188e062a403715b94a570) Feature/permanent delete person (#579)
* FEAT: created permanent delete methods in account.service.ts & auth.service.ts.
* CHORE: DB entities
* FEAT: refactor permanentDeleteUser. Add exception handling.
* FEAT: change permanentDeleteUser in auth.service.ts logic so when the promise returned from the keycloak client is rejected, the prisma service will not be called to delete the user in the db. Also, some reformatting the code as per prettier conf.
* FEAT: improved the permanentDeleteUser promise chain and write some tests
* FEAT: added safeguard to ensure that the deleted person is not corporate. Also, the tests ware updated.
* FEAT: fix if to check the array length and adjust tests.
* FIX: wrong .env commit
* FIX: wrong .env commit #2
* CHORE: reformat.
* Run yarn format
* FIX: check for corporate profile to use companyId.
* FIX: return organizer in the if statement & adjust tests
* CHORE: update comment
* FIX: made if in deleteUser() more readable
---------
Co-authored-by: Alexander Petkov <[email protected]>
|