added todo flags

This commit is contained in:
Miodec 2021-07-12 22:55:57 +01:00
parent 2240ae7354
commit 2a32e6c53a
2 changed files with 2 additions and 0 deletions

View file

@ -60,6 +60,7 @@ export async function getDataAndInit() {
promptVal = prompt(
"Your name is either invalid or unavailable (you also need to do this if you used Google Sign Up). Please provide a new display name (cannot be longer than 14 characters, can only contain letters, numbers, underscores, dots and dashes):"
);
//TODO update
axiosInstance
.post("/updateName", {
name: promptVal,

View file

@ -7,6 +7,7 @@ import * as TodayTracker from "./today-tracker";
let dbSnapshot = null;
export function updateName(uid, name) {
//TODO update
axiosInstance.post("/updateName", {
name: name,
});