1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-22 19:23:24 +00:00

node fetch api

This commit is contained in:
Kyle Spearrin
2018-05-14 23:56:27 -04:00
parent 5850a590ce
commit 17cf059970
4 changed files with 22 additions and 3 deletions

View File

@@ -0,0 +1,15 @@
import { Utils } from '../misc/utils';
import { ApiService } from './api.service';
import { PlatformUtilsService } from '../abstractions/platformUtils.service';
import { TokenService } from '../abstractions/token.service';
import * as fetch from 'node-fetch';
export class NodeApiService extends ApiService {
constructor(tokenService: TokenService, platformUtilsService: PlatformUtilsService,
logoutCallback: Function) {
super(tokenService, platformUtilsService, logoutCallback);
}
}