Skip to content

Commit

Permalink
fix(federation): updating the preview federation query (#708)
Browse files Browse the repository at this point in the history
* fix(resolver): ensuring we pass the right federation query

* fix(braze): disbaling braze 500 alarm
  • Loading branch information
bassrock authored Aug 29, 2024
1 parent 2142851 commit de57660
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion infrastructure/braze-content-proxy/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class BrazeContentProxy extends TerraformStack {
threshold: 25,
evaluationPeriods: 4,
period: 300,
actions: config.isDev ? [] : [snsTopic.arn],
actions: config.isDev ? [] : [], // Disabling for now since this is not really a valid metric for a low volume service. 1 500 can cause this to alarm
},
},
});
Expand Down
2 changes: 1 addition & 1 deletion servers/parser-graphql-wrapper/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ type Item
"The client preview/display logic for this url. The requires for each object should be kept in sync with the sub objects requires field."
preview: PocketMetadata
@requires(
fields: "syndicatedArticle { title excerpt mainImage publishedAt authorNames publisherUrl publisher { logo name } } collection { title excerpt publishedAt authors { name } imageUrl } corpusItem { title excerpt datePublished publisher image { url } }"
fields: "syndicatedArticle { title excerpt mainImage publishedAt authorNames publisherUrl publisher { logo name } } collection { title excerpt publishedAt authors { name } imageUrl } corpusItem { title excerpt datePublished publisher image { url } authors { name sortOrder } }"
)

"If the item is a syndicated article, then the syndication information"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit de57660

Please sign in to comment.