mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 06:33:22 +08:00
added todo flags
This commit is contained in:
parent
2240ae7354
commit
2a32e6c53a
2 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue