1
0
mirror of https://github.com/etesync/server synced 2025-04-25 04:39:00 +00:00

Compare commits

..

No commits in common. "master" and "v0.14.2" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View File

@ -342,10 +342,7 @@ def _create(data: CollectionIn, user: UserType):
# TODO
process_revisions_for_item(main_item, data.item.content)
try:
collection_type_obj, _ = models.CollectionType.objects.get_or_create(uid=data.collectionType, owner=user)
except IntegrityError:
raise ValidationError("bad_collection_type", "collectionType is null")
collection_type_obj, _ = models.CollectionType.objects.get_or_create(uid=data.collectionType, owner=user)
models.CollectionMember(
collection=instance,

View File

@ -25,7 +25,7 @@ click==8.1.7
# via
# typer
# uvicorn
django==4.2.14
django==4.2.13
# via -r requirements.in/base.txt
dnspython==2.6.1
# via email-validator