Skip to content

Commit d7b3dc4

Browse files
authored
Use @me instead of me in the dashboard prefetch
1 parent 63f74c2 commit d7b3dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mystbin/frontend/pages/dashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ export const getServerSideProps = async ({ req, res, query }) => {
673673
let initialAdminPastes = {};
674674
let users = {};
675675

676-
let resp = await fetch(`${config["site"]["backend_site"]}/users/me`, {
676+
let resp = await fetch(`${config["site"]["backend_site"]}/users/@me`, {
677677
method: "GET",
678678
headers: { Authorization: `Bearer ${token}` },
679679
});

0 commit comments

Comments
 (0)