This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html ⚡4email> | |
<head> | |
<meta charset="utf-8"> | |
<script async src="https://cdn.ampproject.org/v0.js"></script> | |
<script async custom-element="amp-bind" src="https://cdn.ampproject.org/v0/amp-bind-0.1.js"></script> | |
<script async custom-element="amp-list" src="https://cdn.ampproject.org/v0/amp-list-0.1.js"></script> | |
<script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.2.js"></script> | |
<style amp4email-boilerplate> | |
body { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as queries from '../../db/queries/main-queries' | |
import * as pgQueries from '../../db/queries/pg-queries' | |
import * as helpers from '../../shared/helpers' | |
import { wrapper } from '../../utils/wrapper' | |
import { logRequest } from '../../db/queries/logging' | |
interface IWispResponse { | |
success: boolean, | |
data: { count: number, providers: string[], type: string } | null | |
errorMessage?: string |