fixes
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
import type { OAuthSession } from "@/types";
|
||||
|
||||
export async function getSession(token: string): Promise<OAuthSession | null> {
|
||||
export async function fetchSession(token: string): Promise<OAuthSession | null> {
|
||||
if (!token) return null;
|
||||
try {
|
||||
const response = await fetch(
|
||||
|
||||
Reference in New Issue
Block a user