refactor(nestjs): import module

This commit is contained in:
Ahmed Bouhuolia
2025-04-12 08:38:29 +02:00
parent 1bcee9293c
commit 5bfff51093
18 changed files with 271 additions and 139 deletions

View File

@@ -0,0 +1,7 @@
export const parseJsonSafe = (value: string) => {
try {
return JSON.parse(value);
} catch {
return null;
}
};