refactor: replace client deletion with user detachment and update client schema to support optional user association

This commit is contained in:
2026-07-19 19:52:45 -03:00
parent 74d6ee6706
commit 10ec32139c
5 changed files with 18 additions and 27 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import fs from "fs";
import path from "path";
export default function getAvatar(
userId: string,
userId: string | null | undefined,
avatar: string | null | undefined,
fallback: string
): string {