private def sendFastlyPurgeRequestForAjaxFile()

in src/main/scala/com/gu/fastly/Lambda.scala [194:206]


  private def sendFastlyPurgeRequestForAjaxFile(
      contentId: String,
      contentType: Option[ContentType]
  ) = {
    sendFastlyPurgeRequest(
      s"${contentId}.json",
      Soft,
      config.fastlyApiNextgenServiceId,
      makeDotcomSurrogateKey(s"${contentId}.json"),
      config.fastlyDotcomApiKey,
      contentType
    )
  }