Workspace white screen error resolved, issue was when we migrated from the local SQLite database to the Client-Server architecture during Phase 2, we didn't implement backend endpoints for adding, updating, or deleting users. Because the app.jsx file had nowhere to send those requests, the buttons didn't do anything

This commit is contained in:
NPS Agent
2026-05-11 15:23:49 +09:30
parent d959c89d5f
commit 39d26be447
7 changed files with 128 additions and 8 deletions
+6
View File
@@ -20,6 +20,12 @@ class UserLogin(BaseModel):
id: str
password: str
class UserUpdate(BaseModel):
name: Optional[str] = None
role: Optional[str] = None
account_type: Optional[str] = None
photo: Optional[str] = None
class User(UserBase):
created_at: datetime
class Config: