Add API calls for profile component
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { BotService } from './Services/bot.service';
|
||||
import { BotSettingsComponent } from './Views/bot-settings/bot-settings.component';
|
||||
import { DashboardComponent } from './Views/dashboard/dashboard.component';
|
||||
import { LoginComponent } from './Views/login/login.component';
|
||||
import { ProfileComponent } from './Views/profile/profile.component';
|
||||
@@ -24,7 +26,7 @@ const routes: Routes = [
|
||||
},
|
||||
{
|
||||
path: 'settings',
|
||||
component: ProfileComponent,
|
||||
component: BotSettingsComponent,
|
||||
},
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user