You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const res = await fetch(`${globalConfig.getEndpoint()}/health/version`);
127
-
const json = await res.json();
128
-
appwriteVersion = json.version;
128
+
const client = new Client().setEndpoint(endpoint);
129
+
const res = await client.call('get', '/health/version');
130
+
appwriteVersion = res.version;
129
131
} catch {
130
132
}
131
133
@@ -145,6 +147,9 @@ const parseError = (err) => {
145
147
146
148
log(`To report this error you can:\n - Create a support ticket in our Discord server https://appwrite.io/discord \n - Create an issue in our Github\n ${githubIssueUrl.href}\n`);
0 commit comments