mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
fix tests
This commit is contained in:
parent
9c821adab2
commit
d5b1396814
1 changed files with 4 additions and 1 deletions
|
@ -149,4 +149,7 @@ class BaseDocument:
|
||||||
session.delete(result)
|
session.delete(result)
|
||||||
session.commit()
|
session.commit()
|
||||||
|
|
||||||
return self.schema.from_orm(result)
|
try:
|
||||||
|
return self.schema.from_orm(result)
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue