recuperation des profils avec email verifié
This commit is contained in:
@@ -11,7 +11,13 @@ export class PbProfileRepository implements ProfileRepository {
|
||||
private pb = new PocketBase(environment.baseUrl);
|
||||
|
||||
list(): Observable<Profile[]> {
|
||||
return from(this.pb.collection('profiles').getFullList<Profile>({ sort: 'profession' }));
|
||||
return from(
|
||||
this.pb.collection('profiles').getFullList<Profile>({
|
||||
sort: 'profession',
|
||||
expand: 'utilisateur',
|
||||
filter: 'utilisateur.verified=true',
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
getByUserId(userId: string): Observable<Profile> {
|
||||
|
||||
Reference in New Issue
Block a user