fix
This commit is contained in:
@@ -48,7 +48,7 @@ async function checkGraphStatus(
|
|||||||
apiKey: string | null,
|
apiKey: string | null,
|
||||||
): Promise<boolean> {
|
): Promise<boolean> {
|
||||||
try {
|
try {
|
||||||
const res = await fetch(`${apiUrl}/ok`, {
|
const res = await fetch(`${apiUrl}/info`, {
|
||||||
...(apiKey && {
|
...(apiKey && {
|
||||||
headers: {
|
headers: {
|
||||||
"X-Api-Key": apiKey,
|
"X-Api-Key": apiKey,
|
||||||
|
|||||||
Reference in New Issue
Block a user