Fix build !wip

pull/2209/head
Jamie Rees 7 years ago
parent 28159cdf53
commit 0bbeeaeb3e

@ -1,10 +1,8 @@
import { Component } from "@angular/core";
import { Router } from "@angular/router";
import { AuthService } from "../../auth/auth.service";
import { IdentityService } from "../../services";
import { NotificationService } from "../../services";
import { SettingsService } from "../../services";
@Component({
templateUrl: "./createadmin.component.html",
@ -15,7 +13,7 @@ export class CreateAdminComponent {
public password: string;
constructor(private identityService: IdentityService, private notificationService: NotificationService,
private router: Router, private auth: AuthService, private settings: SettingsService) { }
private router: Router) { }
public createUser() {
this.identityService.createWizardUser({username: this.username, password: this.password, usePlexAdminAccount: false}).subscribe(x => {

@ -2,8 +2,7 @@
import { Router } from "@angular/router";
import { PlexService } from "../../services";
import { IdentityService, NotificationService, SettingsService } from "../../services";
import { AuthService } from "./../../auth/auth.service";
import { IdentityService, NotificationService, } from "../../services";
@Component({
templateUrl: "./plex.component.html",
@ -15,9 +14,7 @@ export class PlexComponent {
constructor(private plexService: PlexService, private router: Router,
private notificationService: NotificationService,
private identityService: IdentityService,
private settings: SettingsService,
private auth: AuthService) { }
private identityService: IdentityService) { }
public requestAuthToken() {
this.plexService.logIn(this.login, this.password).subscribe(x => {

Loading…
Cancel
Save