Skip to content

Commit

Permalink
fix instance reference field
Browse files Browse the repository at this point in the history
  • Loading branch information
alikhil committed Nov 10, 2024
1 parent eb5df62 commit 4addd18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildarr_prowlarr/config/settings/apps/applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ class RadarrApplication(ArrApplication):
Type value associated with this kind of application.
"""

instance_name: Optional[InstanceReference] = Field(None, plugin="radarr")
instance_name: Annotated[Optional[str], InstanceReference(plugin_name="radarr")] = None
"""
The name of the Radarr instance within Buildarr, if adding
a Buildarr-defined Radarr instance to this Prowlarr instance.
Expand Down Expand Up @@ -509,7 +509,7 @@ class SonarrApplication(ArrApplication):
Type value associated with this kind of application.
"""

instance_name: Optional[InstanceReference] = Field(None, plugin="sonarr")
instance_name: Annotated[Optional[str], InstanceReference(plugin_name="sonarr")] = None
"""
The name of the Sonarr instance within Buildarr, if adding
a Buildarr-defined Sonarr instance to this Prowlarr instance.
Expand Down

0 comments on commit 4addd18

Please sign in to comment.