Services: create and move shows-api service
This commit is contained in:
parent
46b267d672
commit
0a6fda1512
3 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import {Component, inject} from '@angular/core';
|
||||
import {ShowsApiService} from '../../shows/shows-api.service';
|
||||
import {Show, ShowsApiResponse} from '../../shows/shows-api';
|
||||
import {ShowsApiService} from '../../services/shows/shows-api.service';
|
||||
import {Show, ShowsApiResponse} from '../../shows-api';
|
||||
|
||||
@Component({
|
||||
selector: 'app-shows',
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import {inject, Injectable} from '@angular/core';
|
||||
import {HttpClient} from '@angular/common/http';
|
||||
import {Observable} from 'rxjs';
|
||||
import {ShowsApiResponse} from './shows-api';
|
||||
import {ShowsApiResponse} from '../../shows-api';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
Loading…
Add table
Add a link
Reference in a new issue