🧹 Clean up code formatting and fix minor syntax inconsistencies in useDiscordOAuth.js
This commit is contained in:
@@ -55,7 +55,7 @@ export function useDiscordOAuth() {
|
|||||||
// Fetch from backend which has the Discord token
|
// Fetch from backend which has the Discord token
|
||||||
const response = await fetch('/api/auth/discord/profile', {
|
const response = await fetch('/api/auth/discord/profile', {
|
||||||
headers: {
|
headers: {
|
||||||
'Authorization': `Bearer ${token}`
|
Authorization: `Bearer ${token}`
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user