Skip to content

Commit

Permalink
Use @me instead of me in the dashboard prefetch
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmTomahawkx authored Oct 4, 2022
1 parent 63f74c2 commit d7b3dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mystbin/frontend/pages/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ export const getServerSideProps = async ({ req, res, query }) => {
let initialAdminPastes = {};
let users = {};

let resp = await fetch(`${config["site"]["backend_site"]}/users/me`, {
let resp = await fetch(`${config["site"]["backend_site"]}/users/@me`, {
method: "GET",
headers: { Authorization: `Bearer ${token}` },
});
Expand Down

0 comments on commit d7b3dc4

Please sign in to comment.