Mathis e8acfd7b30
feat(services): update condition checks in model.service.ts
Updated the condition checks in the 'delete' and 'fetch' methods of the `model.service.ts`. Now, it properly checks if the model exists by examining the first item of the result array, instead of considering the result array itself. This resolves issues where fetching or deleting a model with a non-existent slug would incorrectly attempt to perform operations considering the empty array as valid input.

Signed-off-by: Mathis <yidhra@tuta.io>
2024-05-03 13:18:15 +02:00
2024-04-24 16:55:37 +02:00
2024-04-24 16:55:37 +02:00
2024-04-22 16:05:04 +02:00
2024-04-30 10:55:37 +02:00
2024-04-22 16:05:04 +02:00

brief-05-back

Description
Faux site de location de véhicule.
Readme 648 KiB
Languages
TypeScript 100%