Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
milankomaj committed Aug 1, 2024
1 parent 9e1cb62 commit ddb9881
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ class GithubUser {

async fetchContent() {
this.octocat = await octokit.request("GET /octocat");
console.log(util.color.magenta(util.arrayBufferToAsciiString(this.octocat.data)));
const ansi = util.arrayBufferToAsciiString(this.octocat.data);
console.log(util.color.randomColorANSI(ansi));

this.userContent = await octokit.request("GET /users/{username}", {
username: this.userName,
Expand Down

0 comments on commit ddb9881

Please sign in to comment.