Switching foreign jkey to PydanticObjectId

This commit is contained in:
2025-04-16 22:38:06 +02:00
parent 15b77ff09f
commit 5bdb754f1c
5 changed files with 16 additions and 13 deletions

View File

@@ -16,7 +16,7 @@ class Registry:
def set_user(self, user):
for firm in user.firms:
if firm.instance == self.instance and firm.firm == firm:
if firm.instance == self.instance and firm.firm == self.firm:
self.user = user
self.db.user = user
return