mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
Remove debug prints and refactor notification function
Removed unnecessary console output in Program.cs and Turnstile.cs to clean up logs and avoid exposing sensitive information. Refactored user.html to replace the `notification` function with `createNotification` for improved notification handling.
This commit is contained in:
@@ -24,7 +24,6 @@ namespace Sharpbin
|
||||
using (var response = await httpClient.SendAsync(request))
|
||||
{
|
||||
var jsonresponse = JObject.Parse(await response.Content.ReadAsStringAsync());
|
||||
Console.WriteLine(jsonresponse["success"]?.ToString());
|
||||
if (jsonresponse["success"]?.ToString().ToLower() == "true")
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user