feat : #14 partage de profil
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user