Добавление зарплаты для ролей, добавление статусов книг, обновление фронтэнда

This commit is contained in:
2025-12-21 00:12:17 +03:00
parent 2bb7d420ec
commit 5096b45243
24 changed files with 1811 additions and 2613 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ from typing import Optional
# Конфигурация
USERNAME = "admin"
PASSWORD = "TzUlDpUCHutFa-oGCd1cBw"
PASSWORD = "4ai2_pQnrJ1-tDx-XSLTKw"
BASE_URL = "http://localhost:8000"
@@ -339,7 +339,7 @@ def main():
for author_name in book_info["authors"]:
if author_name in authors:
api.link_author_book(authors[author_name], book_id)
for genre_name in book_info["genres"]:
if genre_name in genres:
api.link_genre_book(genres[genre_name], book_id)