Skip to content

Commit

Permalink
started to convert back from typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
sharmnten authored Jan 12, 2025
1 parent 05b1621 commit 5279453
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Functions, Client, Account } from "appwrite";
import { Functions, Client, Account } from "../node_modules/appwrite";
const client = new Client()
.setEndpoint('https://cloud.appwrite.io/v1') // Your Appwrite endpoint
.setProject('67609b010021900fc6e6'); // Your Project ID
Expand Down Expand Up @@ -33,9 +33,8 @@ const client = new Client()

// Update the balance element inside the async block
const balance = document.getElementById("balance");
if(balance != null) {
balance.innerHTML = currentBadgerBucks;
}

} catch (error) {
alert("There was an error");
console.error(error);
Expand Down

0 comments on commit 5279453

Please sign in to comment.