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

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

  constructor(
    public http: HttpClient
  ) {
    super('/v1/permission/counter_login', http);
  }

  checkpin(pin){
    return this.http.post(`${this.fullUrl}/${pin}`,null);
  }
}
