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 UploadService extends BaseService {

    constructor(
        public http: HttpClient
    ) {
        super('/upload/upload', http)
        super.fullUrl = `${environment.uploadApi}/api/upload/upload`
    }
}
