diff --git a/src/components/services/appwrite.service.ts b/src/components/services/appwrite.service.ts index 4b31fa0..f97196a 100644 --- a/src/components/services/appwrite.service.ts +++ b/src/components/services/appwrite.service.ts @@ -3,16 +3,14 @@ import { Client, Account } from 'appwrite'; const sdk = new Client(); sdk - .setEndpoint('http://192.168.178.88/v1') + .setEndpoint('http://192.168.1.104/v1') .setProject('62dfc94a1637dc23acbc'); export const AppwriteService = { getSDK(): Client { // TODO Authenticate const account = new Account(sdk); - if(!account.getSession('current')) { - account.createAnonymousSession(); - } + account.createAnonymousSession(); return sdk; }, }; \ No newline at end of file