feat : #14 partage de profil

This commit is contained in:
styve Lioumba
2025-12-04 12:42:06 +01:00
parent 6afb13b2e9
commit 65ecc516c4
37 changed files with 309 additions and 74 deletions

View File

@@ -8,8 +8,8 @@ export class FakeProfileRepository implements ProfileRepository {
return of(mockProfilePaginated);
}
getByUserId(userId: string): Observable<Profile> {
const profile = mockProfiles.find((p) => p.utilisateur === userId) ?? ({} as Profile);
getById(profileId: string): Observable<Profile> {
const profile = mockProfiles.find((p) => p.utilisateur === profileId) ?? ({} as Profile);
return of(profile);
}