www.spaceplanner.app

Web client to the spaceplanner API
git clone git://jacobedwards.org/www.spaceplanner.app
Log | Files | Refs

commit f1997357ebba28760ca46c5e8e79aa131f6b6d65
parent e9bf6cbe79d305e689f91a255c78fb2a40895c2c
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Fri, 11 Oct 2024 13:26:07 -0700

Add api verifiedEmail function

Diffstat:
Mfiles/lib/api.js | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/files/lib/api.js b/files/lib/api.js @@ -89,6 +89,10 @@ export function login(username, password) { }) } +export function verifiedEmail() { + return api_fetch("GET", "users/:user/email/verified") +} + export function refresh_token() { api_fetch("GET", "tokens") .then(function(resp) {