Skip to content

Commit

Permalink
[C] update investigation fragment to use DAM
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgoff authored and Blake Mason committed Jun 14, 2022
1 parent a13742b commit 1fa54a8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/api/fragments/investigation.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { getImageFields } from "@/lib/api/fragments/image";

export const investigationFragment = `
fragment investigationFragment on investigations_investigation_Entry {
id
Expand All @@ -8,9 +6,12 @@ export const investigationFragment = `
...on investigations_investigation_Entry {
date: dateUpdated
# description
image {
... on calloutImages_Asset {
${getImageFields("crop", 450, 275)}
damAsset {
height
width
damMetadata {
metadataKey
metadataValue
}
}
}
Expand Down

0 comments on commit 1fa54a8

Please sign in to comment.