beta 2.2
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ def updateUsersBirthdate() -> bool:
|
||||
if changes:
|
||||
db.session.commit()
|
||||
else:
|
||||
newUser = UsersMedods(
|
||||
newUser = UsersBirthdate(
|
||||
id=user["id"],
|
||||
name=user["name"],
|
||||
short_name=user["short_name"],
|
||||
|
||||
@@ -432,7 +432,7 @@ async function saveSchedulerSettings() {
|
||||
// Обновление списка сотрудников
|
||||
async function refreshUsersList() {
|
||||
try {
|
||||
const response = await fetch('/api/birthdate?action=update', {
|
||||
const response = await fetch('/api/birthdate', {
|
||||
method: 'PATCH'
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user