Skip to content

Commit

Permalink
removed client sesssion checks
Browse files Browse the repository at this point in the history
  • Loading branch information
pingu2k4 committed Oct 11, 2024
1 parent 9f37445 commit 0a0cc42
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/PinguApps.Appwrite.Playground/App.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Microsoft.Extensions.Configuration;
using PinguApps.Appwrite.Shared.Requests.Users;
using PinguApps.Appwrite.Shared.Utils;

namespace PinguApps.Appwrite.Playground;
internal class App
Expand Down Expand Up @@ -29,10 +28,5 @@ public async Task Run(string[] args)
result => result.ToString(),
appwriteError => appwriteError.Message,
internalError => internalError.Message));

_client.SetSession(TokenUtils.GetSessionToken("664aac1a00113f82e620", response.Result.AsT0.Secret));
Console.WriteLine(_client.Session);
var acc = await _client.Account.Get();

}
}

0 comments on commit 0a0cc42

Please sign in to comment.