Files
podnoms/client/src/app/components/callback/callback.component.ts
2018-04-22 14:05:55 +01:00

17 lines
511 B
TypeScript

import { Component, OnInit } from '@angular/core';
import { PodnomsAuthService } from 'app/services/podnoms-auth.service';
import { Router } from '@angular/router';
@Component({
selector: 'app-callback',
templateUrl: './callback.component.html',
styleUrls: ['./callback.component.css']
})
export class CallbackComponent implements OnInit {
constructor(private _authService: PodnomsAuthService, private _router: Router) {}
ngOnInit() {
this._router.navigate(['/podcasts']);
}
}