mirror of
https://github.com/etesync/server
synced 2025-06-07 09:08:45 +00:00
Compare commits
No commits in common. "master" and "v0.14.2" have entirely different histories.
@ -342,10 +342,7 @@ def _create(data: CollectionIn, user: UserType):
|
|||||||
# TODO
|
# TODO
|
||||||
process_revisions_for_item(main_item, data.item.content)
|
process_revisions_for_item(main_item, data.item.content)
|
||||||
|
|
||||||
try:
|
|
||||||
collection_type_obj, _ = models.CollectionType.objects.get_or_create(uid=data.collectionType, owner=user)
|
collection_type_obj, _ = models.CollectionType.objects.get_or_create(uid=data.collectionType, owner=user)
|
||||||
except IntegrityError:
|
|
||||||
raise ValidationError("bad_collection_type", "collectionType is null")
|
|
||||||
|
|
||||||
models.CollectionMember(
|
models.CollectionMember(
|
||||||
collection=instance,
|
collection=instance,
|
||||||
|
@ -25,7 +25,7 @@ click==8.1.7
|
|||||||
# via
|
# via
|
||||||
# typer
|
# typer
|
||||||
# uvicorn
|
# uvicorn
|
||||||
django==4.2.14
|
django==4.2.13
|
||||||
# via -r requirements.in/base.txt
|
# via -r requirements.in/base.txt
|
||||||
dnspython==2.6.1
|
dnspython==2.6.1
|
||||||
# via email-validator
|
# via email-validator
|
||||||
|
Loading…
Reference in New Issue
Block a user