funky-framadate-front/src/app/services/poll.service.ts

25 lines
540 B
TypeScript
Raw Normal View History

2019-12-03 17:20:57 +01:00
import {Injectable} from '@angular/core';
import {ConfigService} from "./config.service";
import {HttpClient} from "@angular/common/http";
import {environment} from "../../environments/environment";
class JsonResponse {
message: string;
data: string;
}
@Injectable({
providedIn: 'root'
})
export class PollService {
private baseHref: string = environment.baseApiHref;
constructor(private configService: ConfigService,
private document: Document,
private http: HttpClient) {
}
}