core: make application's provider not required

This commit is contained in:
Jens Langhammer 2020-12-24 13:04:52 +01:00
parent 79da2bf698
commit 4157a0780d
2 changed files with 1 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class ApplicationSerializer(ModelSerializer):
"""Application Serializer""" """Application Serializer"""
launch_url = SerializerMethodField() launch_url = SerializerMethodField()
provider = ProviderSerializer(source="get_provider") provider = ProviderSerializer(source="get_provider", required=False)
def get_launch_url(self, instance: Application) -> str: def get_launch_url(self, instance: Application) -> str:
"""Get generated launch URL""" """Get generated launch URL"""

View File

@ -6777,7 +6777,6 @@ definitions:
required: required:
- name - name
- slug - slug
- provider
type: object type: object
properties: properties:
pk: pk: