Skip to content

Commit

Permalink
Update Author.tsx api issue
Browse files Browse the repository at this point in the history
  • Loading branch information
trent-001 committed Nov 10, 2023
1 parent 3d9fb5c commit 88db51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Author.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let load = false
export function Author({ author }: AuthorProps) {
const [user, SetUser] = React.useState<any>()
if (!load) {
fetch(`https://landing.doras.to/api/get/${author}`, {
fetch(`https://api.doras.to/user/${author}`, {
method: "GET",
headers: {
"Content-Type": "application/json"
Expand Down

0 comments on commit 88db51d

Please sign in to comment.