π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fetch
Manav Rathiae061d2a441f
diff --git a/web/apps/staff/src/App.tsx b/web/apps/staff/src/App.tsxindex f3f0a9f150..f8984fecbd 100644--- a/web/apps/staff/src/App.tsx+++ b/web/apps/staff/src/App.tsx@@ -1,11 +1,28 @@import React from "react";+import { getUserDetails } from "./services/support-service";import S from "./utils/strings";export const App: React.FC = () => {+ const handleClick = () => {+ const authToken = "xxx";+ getUserDetails(authToken)+ .then((userDetails) => {+ console.log("Fetched user details", userDetails);+ })+ .catch((e) => {+ console.error("Failed to fetch user details", e);+ });+ };+return (<div><h1>{S.hello}</h1>- <a href="https://help.ente.io">help.ente.io</a>+ <p>+ <a href="https://help.ente.io">help.ente.io</a>+ </p>+ <p>+ <button onClick={handleClick}>Do something</button>+ </p></div>);};