fix discord embed cards

This commit is contained in:
byte[] 2020-08-22 22:53:21 -04:00
parent dec3615da5
commit a97f8d23ad

View file

@ -54,7 +54,7 @@ defmodule PhilomenaWeb.Api.Json.OembedController do
version: "1.0",
type: "photo",
title: "##{image.id} - #{image.tag_list_cache} - Derpibooru",
author_url: image.source_url,
author_url: image.source_url || "",
author_name: artist_tags(image.tags),
provider_name: "Derpibooru",
provider_url: PhilomenaWeb.Endpoint.url(),