Updating to new utils version

This commit is contained in:
Fabian
2019-03-23 18:31:39 -04:00
parent 92dba5274e
commit 4b7c9ec6cd
4 changed files with 23 additions and 23 deletions

View File

@ -85,7 +85,7 @@ function statusParser(res: Response) {
}
export default class SecureFileWrapper {
private _jwtObservableServer: Observable<(jwt: string) => void> = new Observable(false);
private _jwtObservableServer: Observable<(jwt: string) => void> = new Observable();
jwtObservable = this._jwtObservableServer.getPublicApi();
private jwt: string;

View File

@ -167,7 +167,7 @@ function test(sf: SecureFile) {
describe("SecureFile Tests", function () {
let sf = new SecureFile("http://localhost:3004");
sf.jwtObservable.subscribe((callback) => {
callback[0]("TESTJWT");
callback("TESTJWT");
})
test(sf)
})