Skip to content

Commit

Permalink
minor: Fix Stashdb Icon (#1891)
Browse files Browse the repository at this point in the history
  • Loading branch information
toshski authored Jan 17, 2025
1 parent 8137aee commit 74bd2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/scenes.go
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ func (i SceneResource) getSceneAlternateSources(req *restful.Request, resp *rest
var site models.Site

if ref.ExternalSource == "stashdb scene" {
ressults = append(ressults, ResponseGetAlternateSources{Url: ref.ExternalReference.ExternalURL, Icon: "https://docs.stashapp.cc/favicon.ico", ExternalSource: ref.ExternalReference.ExternalSource, ExternalId: ref.ExternalReference.ExternalId, ExternalData: ref.ExternalReference.ExternalData})
ressults = append(ressults, ResponseGetAlternateSources{Url: ref.ExternalReference.ExternalURL, Icon: "https://guidelines.stashdb.org/favicon.ico", ExternalSource: ref.ExternalReference.ExternalSource, ExternalId: ref.ExternalReference.ExternalId, ExternalData: ref.ExternalReference.ExternalData})
} else {
json.Unmarshal([]byte(ref.ExternalReference.ExternalData), &altscene)
site.GetIfExist(altscene.Scene.ScraperId)
Expand Down

0 comments on commit 74bd2c0

Please sign in to comment.