Skip to content

Commit

Permalink
fix: correct api url
Browse files Browse the repository at this point in the history
  • Loading branch information
naomi-lgbt committed Nov 13, 2024
1 parent 0603826 commit da212b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/author.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const author: Command = {
`;
const data
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/consistent-type-assertions
= await request("https://api.hashnode.com", query) as HashnodeUser;
= await request("https://gql.hashnode.com", query) as HashnodeUser;

if (!data.user) {
await interaction.editReply({
Expand Down

0 comments on commit da212b7

Please sign in to comment.