Skip to content

Commit

Permalink
i accidentally placed a random letter in code :P
Browse files Browse the repository at this point in the history
  • Loading branch information
Gizzy committed Dec 3, 2024
1 parent 3f31610 commit 018df58
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class Client {
try {
const response = await axios.get(url, {
headers: {
"User-Agent": "BirdrTS-Gizzy",
"User-Agent": "BirdrTS",
"Content-Type": "application/json",
Authorization: `Bearer ${token}`,
},
Expand All @@ -38,7 +38,7 @@ export class Client {
},
{
headers: {
"User-Agent": "BirdrTS-Gizzy",
"User-Agent": "BirdrTS",
"Content-Type": "application/json",
Authorization: `Bearer ${this.token}`,
},
Expand All @@ -65,7 +65,7 @@ export class Client {
},
{
headers: {
"User-Agent": "BirdrTS-Gizzy",
"User-Agent": "BirdrTS",
"Content-Type": "application/json",
Authorization: `Bearer ${this.token}`,
},
Expand All @@ -88,7 +88,7 @@ export class Client {
`https://birdr.vercel.app/api/v1/comments/${commentId}`,
{
headers: {
"User-Agent": "BirdrTS-Gizzy",
"User-Agent": "BirdrTS",
"Content-Type": "application/json",
Authorization: `Bearer ${this.token}`,
},
Expand All @@ -111,7 +111,7 @@ export class Client {
`https://birdr.vercel.app/api/v1/posts/${postId}`,
{
headers: {
"User-Agent": "BirdrTS-Gizzy",
"User-Agent": "BirdrTS",
"Content-Type": "application/json",
Authorization: `Bearer ${this.token}`,
},
Expand All @@ -134,7 +134,7 @@ export class Client {
`https://birdr.vercel.app/api/v1/users/${username}/follov`,
{
headers: {
"User-Agent": "BirdrTS-Gizzy",
"User-Agent": "BirdrTS",
"Content-Type": "application/json",
Authorization: `Bearer ${this.token}`,
},
Expand All @@ -157,7 +157,7 @@ export class Client {
`https://birdr.vercel.app/api/v1/users/${username}/follov`,
{
headers: {
"User-Agent": "BirdrTS-Gizzy",
"User-Agent": "BirdrTS",
"Content-Type": "application/json",
Authorization: `Bearer ${this.token}`,
},
Expand Down Expand Up @@ -203,11 +203,10 @@ export class Client {
reportData,
{
headers: {
"User-Agent": "BirdrTS-Gizzy",
"User-Agent": "BirdrTS",
"Content-Type": "application/json",
Authorization: `Bearer ${this.token}`,
},
b,
},
);
return response.data;
Expand Down Expand Up @@ -280,7 +279,7 @@ export class Client {
updates,
{
headers: {
"User-Agent": "BirdrTS-Gizzy",
"User-Agent": "BirdrTS",
"Content-Type": "application/json",
Authorization: `Bearer ${this.token}`,
},
Expand All @@ -302,7 +301,7 @@ export class Client {
`https://birdr.vercel.app/api/v1/auth/logout`,
{
headers: {
"User-Agent": "BirdrTS-Gizzy",
"User-Agent": "BirdrTS",
"Content-Type": "application/json",
Authorization: `Bearer ${this.token}`,
},
Expand Down

0 comments on commit 018df58

Please sign in to comment.