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"""
|
"""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"""
|
||||||
|
|
|
@ -6777,7 +6777,6 @@ definitions:
|
||||||
required:
|
required:
|
||||||
- name
|
- name
|
||||||
- slug
|
- slug
|
||||||
- provider
|
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
pk:
|
pk:
|
||||||
|
|
Reference in New Issue