Skip to content

Commit

Permalink
Removed console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
augustinecyr committed Apr 24, 2023
1 parent 39c4f88 commit 957ca4f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions frontend/src/app/components/githuboauth2.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { HttpClient} from '@angular/common/http';
import { HttpClient } from '@angular/common/http';
import { UserData } from '../models';
import { UserService } from '../user.service';

Expand Down Expand Up @@ -28,9 +28,9 @@ export class GithubOauth2Component implements OnInit {
console.log(this.code);
if (this.code) {
this.userService.getGithubToken(this.code).subscribe((response) => {
console.log('Response:', response);
// console.log('Response:', response);
this.accessToken = response.access_token;
// console.log('Access token:', this.accessToken);
// console.log('Access token:', this.accessToken);
// post the token using getUser
this.userService.getGithubUser(this.accessToken).subscribe((user) => {
console.log('User:', user);
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/app/components/googleoauth2.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ export class Googleoauth2Component implements OnInit {
this.userService
.getGoogleToken(this.googlecode)
.subscribe((response) => {
console.log('Response:', response);
// console.log('Response:', response);
this.googleToken = response.access_token;
// console.log('Access token:', this.googleToken);
// console.log('Access token:', this.googleToken);
// post the token using getGoogleToken
this.userService
.getGoogleUser(this.googleToken)
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/components/stats.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export class StatsComponent implements OnInit {
}

getListFromSQL() {
console.log('fetching the list of players from MySQL');
this.playerSQL = this.statService.getListFromSQL();
console.log('List:',this.playerSQL);
}

getStats(id: string) {
Expand Down

1 comment on commit 957ca4f

@vercel
Copy link

@vercel vercel bot commented on 957ca4f Apr 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.