clean up
This commit is contained in:
parent
7239dfa0fa
commit
a52a26e6b5
@ -23,7 +23,6 @@ export class LeftSideBarComponent implements OnInit, OnDestroy {
|
||||
|
||||
for (let acc of accounts) {
|
||||
const accWrapper = new AccountWrapper();
|
||||
console.warn(acc);
|
||||
accWrapper.username = `${acc.mastodonAccount.username}@${acc.mastodonInstance.replace("https://", "")}`;
|
||||
accWrapper.avatar = acc.mastodonAccount.avatar;
|
||||
this.accounts.push(accWrapper);
|
||||
|
@ -12,8 +12,6 @@ export class StreamComponent implements OnInit {
|
||||
|
||||
@Input()
|
||||
set stream(stream: Stream) {
|
||||
console.warn(stream);
|
||||
|
||||
this._stream = stream;
|
||||
this._stream.statuses.subscribe((toots: TootWrapper[]) => {
|
||||
for (let t of toots) {
|
||||
|
@ -34,7 +34,6 @@ export class AuthService {
|
||||
return this.httpService.post(url, formData, options).toPromise()
|
||||
.then((res: Response) => {
|
||||
const result = res.json();
|
||||
console.warn(result);
|
||||
return result as TokenData;
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user