1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-23 01:54:22 +00:00

Specify locale of CardArt::card_jpg()

This commit is contained in:
Steffo 2022-08-05 02:09:12 +02:00
parent 9a57f59e70
commit 3fbdfc68ec
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -25,7 +25,7 @@ pub struct CardArt {
impl CardArt { impl CardArt {
/// URL to the `.jpg` image of the rendered card, via `poro.steffo.eu`. /// URL to the `.jpg` image of the `en_us` locale of the rendered card, via `poro.steffo.eu`.
/// ///
/// Please do not overload this endpoint, as it currently does not use a CDN! /// Please do not overload this endpoint, as it currently does not use a CDN!
/// ///
@ -39,7 +39,7 @@ impl CardArt {
.replace(".png", ".jpg") .replace(".png", ".jpg")
} }
/// URL to the `.jpg` image of the full card art, via `poro.steffo.eu`. /// URL to the `.jpg` image of the `en_us` locale of the full card art, via `poro.steffo.eu`.
/// ///
/// Please do not overload this endpoint, as it currently does not use a CDN! /// Please do not overload this endpoint, as it currently does not use a CDN!
/// ///