Add console /registrars GET endpoint (#2050)

This commit is contained in:
Pavlo Tkach
2023-06-09 16:57:26 -04:00
committed by GitHub
parent a9aaa11801
commit bc57f319e5
8 changed files with 204 additions and 10 deletions
@@ -49,13 +49,11 @@ export class ContactService {
contacts: Contact[],
registrarId?: string
): Observable<Contact[]> {
return this.backend
.postContacts(registrarId || 'default', contacts)
.pipe(
tap((_) => {
this.contacts = contacts;
})
);
return this.backend.postContacts(registrarId || 'default', contacts).pipe(
tap((_) => {
this.contacts = contacts;
})
);
}
updateContact(index: number, contact: Contact) {