From 10c98d938d4327ef37409622b823d242e0a4497d Mon Sep 17 00:00:00 2001 From: Brandon Krigbaum Date: Thu, 11 Mar 2021 13:51:35 -0600 Subject: [PATCH] Add displayName for alt field --- .../graphql-server/src/graphql/definitions/platform/asset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/graphql-server/src/graphql/definitions/platform/asset.js b/services/graphql-server/src/graphql/definitions/platform/asset.js index 8b290495f..80693935f 100644 --- a/services/graphql-server/src/graphql/definitions/platform/asset.js +++ b/services/graphql-server/src/graphql/definitions/platform/asset.js @@ -43,7 +43,7 @@ type AssetImage { # GraphQL specific fields src(input: AssetImageSrcInput = {}): String! @projection(localField: "fileName", needs: ["filePath", "cropDimensions", "isLogo", "width", "height"]) - alt: String! @projection(localField: "name", needs: ["caption", "fileName"]) + alt: String! @projection(localField: "name", needs: ["caption", "fileName", "displayName"]) cropRectangle: AssetImageCropRectangle! @projection(localField: "cropDimensions", needs: ["width", "height", "fileName", "filePath"]) }