You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
269 B

  1. import ApiService from '@/services/api.service'
  2. class AuthService {
  3. constructor() {
  4. this.request = ApiService
  5. }
  6. postCredential(data) {
  7. this.request.removeHeader()
  8. return this.request.post('/auth-token', data)
  9. }
  10. }
  11. export default new AuthService()