Lost Keys
This commit is contained in:
@@ -30,6 +30,10 @@ export class ApiService {
|
||||
return this.http.get<IKey[]>('api/key')
|
||||
}
|
||||
|
||||
getLostKeys(): Observable<IKey[]> {
|
||||
return this.http.get<IKey[]>('api/key/lost')
|
||||
}
|
||||
|
||||
updateKey(key: IKey): Observable<IKey> {
|
||||
return this.http.put<IKey>('api/key', key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user