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

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

    constructor(
        public http: HttpClient
    ) {
        super(`/${environment.apiVersion}/enrollment/users`, http);
        super.fullUrl = `${environment.enrollmentApi}/api/${environment.apiVersion}/enrollment/users`
    }
}
