chore: rename

This commit is contained in:
Simon Ding
2025-03-19 13:44:45 +08:00
parent 6d77bed506
commit b4b767d4c2
3 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ import "polaris/ent/media"
var (
Version = "undefined"
TmdbApiKey = ""
DefaultTmdbApiKey = ""
)
const (

View File

@@ -738,7 +738,7 @@ func (c *Client) SetAcceptedSubtitleFormats(key string, v []string) error {
func (c *Client) GetTmdbApiKey() string {
k := c.GetSetting(SettingTmdbApiKey)
if k == "" {
return TmdbApiKey
return DefaultTmdbApiKey
}
return k
}