import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { BaseService } from '../../base/base-service';

@Injectable({
    providedIn: 'root'
})
export class DailySummaryService extends BaseService {

    constructor(
        public http: HttpClient
    ) {
        super('/v1/register/daily_summaries', http)
     }

     searchDaily(date){
        return this.http.get(`${this.fullUrl}/${date}`);
     }
}
