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"""
launch_url = SerializerMethodField()
provider = ProviderSerializer(source="get_provider")
provider = ProviderSerializer(source="get_provider", required=False)
def get_launch_url(self, instance: Application) -> str:
"""Get generated launch URL"""

View file

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