[WIP] Added server dashboard #72

This commit is contained in:
2022-10-17 19:44:28 +02:00
parent a69c223a33
commit 2a97438417
15 changed files with 181 additions and 14 deletions

View File

@@ -42,4 +42,12 @@ export class DataService {
})
});
}
getServerByID(id: number): Observable<ServerDTO> {
return this.http.get<ServerDTO>(`${this.appsettings.getApiURL()}/api/discord/server/get/${id}`, {
headers: new HttpHeaders({
'Content-Type': 'application/json'
})
});
}
}