core: make application's provider not required
This commit is contained in:
parent
79da2bf698
commit
4157a0780d
|
@ -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"""
|
||||
|
|
|
@ -6777,7 +6777,6 @@ definitions:
|
|||
required:
|
||||
- name
|
||||
- slug
|
||||
- provider
|
||||
type: object
|
||||
properties:
|
||||
pk:
|
||||
|
|
Reference in a new issue