Renamed API Hero to Trigger everywhere
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
## API Hero webapp - powered by Remix
|
||||
## Trigger webapp - powered by Remix
|
||||
|
||||
To start, run with `pnpm run dev --filter webapp`
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ export function Header({ children }: HeaderProps) {
|
||||
|
||||
return (
|
||||
<div className="flex w-full items-center border-b border-slate-200 bg-white py-1 px-2">
|
||||
<Link to="/" aria-label="API Hero">
|
||||
<Link to="/" aria-label="Trigger">
|
||||
<Logo className="h-6" />
|
||||
</Link>
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ export const links: LinksFunction = () => {
|
||||
|
||||
export const meta: MetaFunction = () => ({
|
||||
charset: "utf-8",
|
||||
title: "API Hero",
|
||||
title: "Trigger",
|
||||
viewport: "width=device-width,initial-scale=1",
|
||||
});
|
||||
|
||||
|
||||
@@ -2,22 +2,22 @@
|
||||
|
||||
_Last updated: September 22, 2022_
|
||||
|
||||
We recognize that however good the maker’s intentions, technology can amplify the ability to cause great harm. That’s why we’ve established this policy. We feel an ethical obligation to counter such harm: both in terms of dealing with instances where API Hero is used (and abused) to further such harm, and to state unequivocally that the products we make at API Hero are not safe havens for people who wish to commit such harm. If you have an account with any of our products, you can’t use them for any of the restricted purposes listed below.
|
||||
We recognize that however good the maker’s intentions, technology can amplify the ability to cause great harm. That’s why we’ve established this policy. We feel an ethical obligation to counter such harm: both in terms of dealing with instances where Trigger is used (and abused) to further such harm, and to state unequivocally that the products we make at Trigger are not safe havens for people who wish to commit such harm. If you have an account with any of our products, you can’t use them for any of the restricted purposes listed below.
|
||||
|
||||
## Restricted purposes
|
||||
|
||||
- **Violence, or threats thereof**: If an activity qualifies as violent crime in the United States or where you live, you may not use API Hero products to plan, perpetrate, or threaten that activity.
|
||||
- **Violence, or threats thereof**: If an activity qualifies as violent crime in the United States or where you live, you may not use Trigger products to plan, perpetrate, or threaten that activity.
|
||||
- **Child exploitation, sexualization, or abuse**: We don’t tolerate any activities that create, disseminate, or otherwise cause child abuse. Keep away and stop. Just stop.
|
||||
- **Hate speech**: You cannot use our products to advocate for the extermination, domination, or oppression of people.
|
||||
- **Harassment**: Intimidating or targeting people or groups through repeated communication, including using racial slurs or dehumanizing language, is not welcome at API Hero.
|
||||
- **Doxing**: If you are using API Hero products to share other peoples’ private personal information for the purposes of harassment, we don’t want anything to do with you.
|
||||
- **Harassment**: Intimidating or targeting people or groups through repeated communication, including using racial slurs or dehumanizing language, is not welcome at Trigger.
|
||||
- **Doxing**: If you are using Trigger products to share other peoples’ private personal information for the purposes of harassment, we don’t want anything to do with you.
|
||||
- **Malware or spyware**: Code for good, not evil. If you are using our products to make or distribute anything that qualifies as malware or spyware — including remote user surveillance — begone.
|
||||
- **Phishing or otherwise attempting fraud**: It is not okay to lie about who you are or who you affiliate with to steal from, extort, or otherwise harm others.
|
||||
- **Spamming**: No one wants unsolicited commercial emails. We don’t tolerate folks (including their bots) using API Hero products for spamming purposes. If your emails don’t pass muster with [CAN-SPAM](https://www.ftc.gov/tips-advice/business-center/guidance/can-spam-act-compliance-guide-business) or any other anti-spam law, it’s not allowed.
|
||||
- **Cybersquatting**: We don’t like username extortionists. If you purchase a API Hero product account in someone else’s name and then try to sell that account to them, you are [cybersquatting](https://www.law.cornell.edu/uscode/text/15/1125). Cybersquatting accounts are subject to immediate cancellation.
|
||||
- **Infringing on intellectual property**: You can’t use API Hero products to make or disseminate work that uses the intellectual property of others beyond the bounds of [fair use](https://www.copyright.gov/fair-use/more-info.html).
|
||||
- **Spamming**: No one wants unsolicited commercial emails. We don’t tolerate folks (including their bots) using Trigger products for spamming purposes. If your emails don’t pass muster with [CAN-SPAM](https://www.ftc.gov/tips-advice/business-center/guidance/can-spam-act-compliance-guide-business) or any other anti-spam law, it’s not allowed.
|
||||
- **Cybersquatting**: We don’t like username extortionists. If you purchase a Trigger product account in someone else’s name and then try to sell that account to them, you are [cybersquatting](https://www.law.cornell.edu/uscode/text/15/1125). Cybersquatting accounts are subject to immediate cancellation.
|
||||
- **Infringing on intellectual property**: You can’t use Trigger products to make or disseminate work that uses the intellectual property of others beyond the bounds of [fair use](https://www.copyright.gov/fair-use/more-info.html).
|
||||
|
||||
While our use restrictions are comprehensive, they can’t be exhaustive — it’s possible an offense could defy categorization, present for the first time, or illuminate a moral quandary we hadn’t yet considered. That said, we hope the overarching spirit is clear: API Hero is not to be harnessed for harm, whether mental, physical, personal or civic. Different points of view — philosophical, religious, and political — are welcome, but ideologies like white nationalism, or hate-fueled movements anchored by oppression, violence, abuse, extermination, or domination of one group over another, will not be accepted here.
|
||||
While our use restrictions are comprehensive, they can’t be exhaustive — it’s possible an offense could defy categorization, present for the first time, or illuminate a moral quandary we hadn’t yet considered. That said, we hope the overarching spirit is clear: Trigger is not to be harnessed for harm, whether mental, physical, personal or civic. Different points of view — philosophical, religious, and political — are welcome, but ideologies like white nationalism, or hate-fueled movements anchored by oppression, violence, abuse, extermination, or domination of one group over another, will not be accepted here.
|
||||
|
||||
## How to report abuse
|
||||
|
||||
@@ -29,6 +29,6 @@ Please share as much as you are comfortable with about the account, the content
|
||||
|
||||
Someone on our team will respond within one business day to let you know we’ve begun investigating. We will also let you know the outcome of our investigation (unless you ask us not to, or we are not allowed to under law).
|
||||
|
||||
This policy and process applies to any product created and owned by API Hero Ltd.
|
||||
This policy and process applies to any product created and owned by Trigger Ltd.
|
||||
|
||||
Adapted from the [Basecamp open-source policies](https://github.com/basecamp/policies) / [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
||||
|
||||
@@ -4,7 +4,7 @@ _Last updated: September 22, 2022_
|
||||
|
||||
The privacy of your data—and it is your data, not ours!—is a big deal to us. In this policy, we lay out: what data we collect and why; how your data is handled; and your rights with respect to your data. We promise we never sell your data: never have, never will.
|
||||
|
||||
This policy applies to all products built and maintained by API Hero Ltd.
|
||||
This policy applies to all products built and maintained by Trigger Ltd.
|
||||
|
||||
## What we collect and why
|
||||
|
||||
@@ -12,17 +12,17 @@ Our guiding principle is to collect only what we need. Here’s what that means
|
||||
|
||||
### Identity & access
|
||||
|
||||
When you sign up for a API Hero product, we ask for identifying information such as your name, email address, and maybe a company name. That’s so you can personalize your new account, and we can send you product updates and other essential information. We may also send you optional surveys from time to time to help us understand how you use our products and to make improvements. With your consent, we will send you our newsletter and other updates. We sometimes also give you the option to add a profile picture that displays in our products.
|
||||
When you sign up for a Trigger product, we ask for identifying information such as your name, email address, and maybe a company name. That’s so you can personalize your new account, and we can send you product updates and other essential information. We may also send you optional surveys from time to time to help us understand how you use our products and to make improvements. With your consent, we will send you our newsletter and other updates. We sometimes also give you the option to add a profile picture that displays in our products.
|
||||
|
||||
We’ll never sell your personal information to third parties, and we won’t use your name or company in marketing statements without your permission either.
|
||||
|
||||
### Billing information
|
||||
|
||||
If you sign up for a paid API Hero product, you will be asked to provide your payment information and billing address. Credit card information is submitted directly to our payment processor and doesn’t hit API Hero servers. We store a record of the payment transaction, including the last 4 digits of the credit card number, for purposes of account history, invoicing, and billing support. We store your billing address so we can charge you for service, calculate any sales tax due, send you invoices, and detect fraudulent credit card transactions. We occasionally use aggregate billing information to guide our marketing efforts.
|
||||
If you sign up for a paid Trigger product, you will be asked to provide your payment information and billing address. Credit card information is submitted directly to our payment processor and doesn’t hit Trigger servers. We store a record of the payment transaction, including the last 4 digits of the credit card number, for purposes of account history, invoicing, and billing support. We store your billing address so we can charge you for service, calculate any sales tax due, send you invoices, and detect fraudulent credit card transactions. We occasionally use aggregate billing information to guide our marketing efforts.
|
||||
|
||||
### Product interactions
|
||||
|
||||
We store on our servers the content that you upload or receive or maintain in your API Hero product accounts. This is so you can use our products as intended, for example, to create projects in API Hero. We keep this content as long as your account is active. If you delete your account, we’ll delete the content within 60 days.
|
||||
We store on our servers the content that you upload or receive or maintain in your Trigger product accounts. This is so you can use our products as intended, for example, to create projects in Trigger. We keep this content as long as your account is active. If you delete your account, we’ll delete the content within 60 days.
|
||||
|
||||
### Geolocation data
|
||||
|
||||
@@ -34,11 +34,11 @@ We collect information about your browsing activity for analytics and statistica
|
||||
|
||||
### Anti-bot assessments
|
||||
|
||||
We use third-party [CAPTCHA](https://en.wikipedia.org/wiki/CAPTCHA) services across our applications to mitigate brute force logins. We have a legitimate interest in protecting our apps and the broader Internet community from credential stuffing attacks and spam. When you log into your API Hero accounts, the CAPTCHA service evaluates various information (e.g., IP address, how long the visitor has been on the app, mouse movements) to try to detect if the activity is from an automated program instead of a human. We retain these data via our subprocessor indefinitely for use in spam mitigation.
|
||||
We use third-party [CAPTCHA](https://en.wikipedia.org/wiki/CAPTCHA) services across our applications to mitigate brute force logins. We have a legitimate interest in protecting our apps and the broader Internet community from credential stuffing attacks and spam. When you log into your Trigger accounts, the CAPTCHA service evaluates various information (e.g., IP address, how long the visitor has been on the app, mouse movements) to try to detect if the activity is from an automated program instead of a human. We retain these data via our subprocessor indefinitely for use in spam mitigation.
|
||||
|
||||
### Advertising and Cookies
|
||||
|
||||
API Hero runs contextual ads on various third-party platforms such as Google, Reddit, and LinkedIn. Users who click on one of our ads will be sent to the API Hero marketing site. Where permissible under law, we may load an ad-company script on their browsers that sets a third-party cookie and sends information to the ad network to enable evaluation of the effectiveness of our ads, e.g., which ad they clicked and which keyword triggered the ad, and whether they performed certain actions such as clicking a button or submitting a form.
|
||||
Trigger runs contextual ads on various third-party platforms such as Google, Reddit, and LinkedIn. Users who click on one of our ads will be sent to the Trigger marketing site. Where permissible under law, we may load an ad-company script on their browsers that sets a third-party cookie and sends information to the ad network to enable evaluation of the effectiveness of our ads, e.g., which ad they clicked and which keyword triggered the ad, and whether they performed certain actions such as clicking a button or submitting a form.
|
||||
|
||||
We also use persistent first-party cookies and some third-party cookies to store certain preferences, make it easier for you to use our applications, and perform A/B testing as well as support some analytics.
|
||||
|
||||
@@ -46,7 +46,7 @@ A cookie is a piece of text stored by your browser. It may help remember login i
|
||||
|
||||
### Voluntary correspondence
|
||||
|
||||
When you email API Hero with a question or to ask for help, we keep that correspondence, including your email address, so that we have a history of past correspondence to reference if you reach out in the future.
|
||||
When you email Trigger with a question or to ask for help, we keep that correspondence, including your email address, so that we have a history of past correspondence to reference if you reach out in the future.
|
||||
|
||||
We also store information you may volunteer, for example, written responses to surveys. If you agree to a customer interview, we may ask for your permission to record the conversation for future reference or use. We will only do so with your express consent.
|
||||
|
||||
@@ -56,7 +56,7 @@ We also store information you may volunteer, for example, written responses to s
|
||||
|
||||
We may share your information at your direction if you integrate a third-party service into your use of our products.
|
||||
|
||||
**To exclude you from seeing our ads.** Where permissible by law and if you have an API Hero account, we may share a one-way hash of your email address with ad companies to exclude you from seeing our ads.
|
||||
**To exclude you from seeing our ads.** Where permissible by law and if you have an Trigger account, we may share a one-way hash of your email address with ad companies to exclude you from seeing our ads.
|
||||
|
||||
**To help you troubleshoot or squash a software bug, with your permission.** If at any point we need to access your content to help you with a support case, we will ask for your consent before proceeding.
|
||||
|
||||
@@ -64,20 +64,20 @@ We may share your information at your direction if you integrate a third-party s
|
||||
|
||||
**When required under applicable law.**
|
||||
|
||||
- Requests for user data. Our policy is to not respond to government requests for user data unless we are compelled by legal process or in limited circumstances in the event of an emergency request. However, if U.S. law enforcement authorities have the necessary warrant, criminal subpoena, or court order requiring us to share data, we must comply. Likewise, we will only respond to requests from government authorities outside the U.S. if compelled by the U.S. government through procedures outlined in a mutual legal assistance treaty or agreement. It is API Hero’s policy to notify affected users before we share data unless we are legally prohibited from doing so, and except in some emergency cases.
|
||||
- Preservation requests. Similarly, API Hero’s policy is to comply with requests to preserve data only if compelled by the U.S. Federal Stored Communications Act, 18 U.S.C. Section 2703(f), or by a properly served U.S. subpoena for civil matters. We do not share preserved data unless required by law or compelled by a court order that we choose not to appeal. Furthermore, unless we receive a proper warrant, court order, or subpoena before the required preservation period expires, we will destroy any preserved copies of customer data at the end of the preservation period.
|
||||
- Requests for user data. Our policy is to not respond to government requests for user data unless we are compelled by legal process or in limited circumstances in the event of an emergency request. However, if U.S. law enforcement authorities have the necessary warrant, criminal subpoena, or court order requiring us to share data, we must comply. Likewise, we will only respond to requests from government authorities outside the U.S. if compelled by the U.S. government through procedures outlined in a mutual legal assistance treaty or agreement. It is Trigger’s policy to notify affected users before we share data unless we are legally prohibited from doing so, and except in some emergency cases.
|
||||
- Preservation requests. Similarly, Trigger’s policy is to comply with requests to preserve data only if compelled by the U.S. Federal Stored Communications Act, 18 U.S.C. Section 2703(f), or by a properly served U.S. subpoena for civil matters. We do not share preserved data unless required by law or compelled by a court order that we choose not to appeal. Furthermore, unless we receive a proper warrant, court order, or subpoena before the required preservation period expires, we will destroy any preserved copies of customer data at the end of the preservation period.
|
||||
- If we are audited by a tax authority, we may be required to share billing-related information. If that happens, we will share only the minimum needed, such as billing addresses and tax exemption information.
|
||||
|
||||
Finally, if API Hero Ltd is acquired by or merges with another company — we don’t plan on that, but if it happens — we’ll notify you well before any of your personal information is transferred or becomes subject to a different privacy policy.
|
||||
Finally, if Trigger Ltd is acquired by or merges with another company — we don’t plan on that, but if it happens — we’ll notify you well before any of your personal information is transferred or becomes subject to a different privacy policy.
|
||||
|
||||
## Your rights with respect to your information
|
||||
|
||||
At API Hero, we strive to apply the same data rights to all customers, regardless of their location. Some of these rights include:
|
||||
At Trigger, we strive to apply the same data rights to all customers, regardless of their location. Some of these rights include:
|
||||
|
||||
- **Right to Know.** You have the right to know what personal information is collected, used, shared or sold. We outline both the categories and specific bits of data we collect, as well as how they are used, in this privacy policy.
|
||||
- **Right of Access.** This includes your right to access the personal information we gather about you, and your right to obtain information about the sharing, storage, security and processing of that information.
|
||||
- **Right to Correction.** You have the right to request correction of your personal information.
|
||||
- **Right to Erasure / “To Be Forgotten”.** This is your right to request, subject to certain limitations under applicable law, that your personal information be erased from our possession and, by extension, from all of our service providers. Fulfillment of some data deletion requests may prevent you from using API Hero services because our applications may then no longer work. In such cases, a data deletion request may result in closing your account.
|
||||
- **Right to Erasure / “To Be Forgotten”.** This is your right to request, subject to certain limitations under applicable law, that your personal information be erased from our possession and, by extension, from all of our service providers. Fulfillment of some data deletion requests may prevent you from using Trigger services because our applications may then no longer work. In such cases, a data deletion request may result in closing your account.
|
||||
- **Right to Complain.** You have the right to make a complaint regarding our handling of your personal information with the appropriate supervisory authority.
|
||||
- **Right to Restrict Processing.** This is your right to request restriction of how and why your personal information is used or processed, including opting out of sale of personal information. (Again: we never have and never will sell your personal data.)
|
||||
- **Right to Object.** You have the right, in certain situations, to object to how or why your personal information is processed.
|
||||
@@ -107,9 +107,9 @@ Our products and other web properties are operated in the United Kingdom. If you
|
||||
|
||||
## When transferring personal data from the EU
|
||||
|
||||
The European Data Protection Board (EDPB) has issued guidance that personal data transferred out of the EU must be treated with the same level of protection that is granted under EU privacy law. UK law provides similar safeguards for UK user data that is transferred out of the UK. Accordingly, API Hero has adopted a data processing addendum with Standard Contractual Clauses to help ensure this protection.
|
||||
The European Data Protection Board (EDPB) has issued guidance that personal data transferred out of the EU must be treated with the same level of protection that is granted under EU privacy law. UK law provides similar safeguards for UK user data that is transferred out of the UK. Accordingly, Trigger has adopted a data processing addendum with Standard Contractual Clauses to help ensure this protection.
|
||||
|
||||
There are also a few ad hoc cases where EU personal data may be transferred to the U.S. in connection with API Hero Ltd operations, for instance, if an EU user signs up for our newsletter or participates in one of our surveys or buys swag from our company online store. Such transfers are only occasional and data is transferred under the [Article 49(1)(b) derogation](https://gdpr-info.eu/art-49-gdpr/) under GDPR and the UK version of GDPR.
|
||||
There are also a few ad hoc cases where EU personal data may be transferred to the U.S. in connection with Trigger Ltd operations, for instance, if an EU user signs up for our newsletter or participates in one of our surveys or buys swag from our company online store. Such transfers are only occasional and data is transferred under the [Article 49(1)(b) derogation](https://gdpr-info.eu/art-49-gdpr/) under GDPR and the UK version of GDPR.
|
||||
|
||||
## Changes & questions
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
_Last updated: September 22, 2022_
|
||||
|
||||
From everyone at API Hero, thank you for using our products! We build them to help you do your best work. There are millions of people using API Hero products every day. Because we don’t know every one of our customers personally, we have to put in place some Terms of Service to help keep the ship afloat.
|
||||
From everyone at Trigger, thank you for using our products! We build them to help you do your best work. There are millions of people using Trigger products every day. Because we don’t know every one of our customers personally, we have to put in place some Terms of Service to help keep the ship afloat.
|
||||
|
||||
When we say “Company”, “we”, “our”, or “us” in this document, we are referring to API Hero Ltd.
|
||||
When we say “Company”, “we”, “our”, or “us” in this document, we are referring to Trigger Ltd.
|
||||
|
||||
When we say “Services”, we mean any product created and maintained by API Hero Ltd.
|
||||
When we say “Services”, we mean any product created and maintained by Trigger Ltd.
|
||||
|
||||
When we say “You” or “your”, we are referring to the people or organizations that own an account with one or more of our Services.
|
||||
|
||||
@@ -43,15 +43,15 @@ If you violate any of the terms, we may terminate your account. That’s a broad
|
||||
1. Your use of the Services is at your sole risk. We provide these Services on an “as is” and “as available” basis. We do not offer service-level agreements but do take uptime of our applications seriously.
|
||||
2. We reserve the right to temporarily disable your account. Of course, we’ll reach out to the account owner before taking any action except in rare cases where the level of use may negatively impact the performance of the Service for other customers.
|
||||
3. We take many measures to protect and secure your data through backups, redundancies, and encryption. We enforce encryption for data transmission from the public Internet.
|
||||
4. When you use our Services, you entrust us with your data. We take that trust to heart. You agree that API Hero may process your data as described in our [Privacy Policy](../privacy/index.md) and for no other purpose. We as humans can access your data for the following reasons:
|
||||
4. When you use our Services, you entrust us with your data. We take that trust to heart. You agree that Trigger may process your data as described in our [Privacy Policy](../privacy/index.md) and for no other purpose. We as humans can access your data for the following reasons:
|
||||
|
||||
- **To help you with support requests you make.** We’ll ask for express consent before accessing your account.
|
||||
- **On the rare occasions when an error occurs that stops an automated process partway through.** We get automated alerts when such errors occur. When we can fix the issue and restart automated processing without looking at any personal data, we do. In rare cases, we have to look at a minimum amount of personal data to fix the issue. In these rare cases, we aim to fix the root cause as much as possible to avoid the errors from reoccurring.
|
||||
- **To safeguard API Hero.** We’ll look at logs and metadata as part of our work to ensure the security of your data and the Services as a whole.
|
||||
- **To safeguard Trigger.** We’ll look at logs and metadata as part of our work to ensure the security of your data and the Services as a whole.
|
||||
- **To the extent required by applicable law.**
|
||||
|
||||
5. We use third party vendors and hosting partners to provide the necessary hardware, software, networking, storage, and related technology required to run the Services.
|
||||
6. Under the California Consumer Privacy Act (“CCPA”), API Hero is a “service provider”, not a “business” or “third party”, with respect to your use of the Services. That means we process any data you share with us only for the purpose you signed up for and as described in these Terms of Service, [Privacy policy](../privacy/index.md), and [other policies](../index.md). We do not retain, use, disclose, or sell any of that information for any other commercial purposes unless we have your explicit permission. And on the flip-side, you agree to comply with your requirements under the CCPA and not use API Hero’s Services in a way that violates the regulations.
|
||||
6. Under the California Consumer Privacy Act (“CCPA”), Trigger is a “service provider”, not a “business” or “third party”, with respect to your use of the Services. That means we process any data you share with us only for the purpose you signed up for and as described in these Terms of Service, [Privacy policy](../privacy/index.md), and [other policies](../index.md). We do not retain, use, disclose, or sell any of that information for any other commercial purposes unless we have your explicit permission. And on the flip-side, you agree to comply with your requirements under the CCPA and not use Trigger’s Services in a way that violates the regulations.
|
||||
|
||||
## Copyright and Content Ownership
|
||||
|
||||
@@ -69,7 +69,7 @@ We also test all of our features extensively before shipping them. As with any s
|
||||
|
||||
## Services Adaptations and API Terms
|
||||
|
||||
We offer Application Program Interfaces (“API”s) for some of our Services (currently API Hero). Any use of the API, including through a third-party product that accesses the Services, is bound by the terms of this agreement plus the following specific terms:
|
||||
We offer Application Program Interfaces (“API”s) for some of our Services (currently Trigger). Any use of the API, including through a third-party product that accesses the Services, is bound by the terms of this agreement plus the following specific terms:
|
||||
|
||||
1. You expressly understand and agree that we are not liable for any damages or losses resulting from your use of the API or third-party products that access data via the API.
|
||||
2. Third parties may not access and employ the API if the functionality is part of an application that remotely records, monitors, or reports a Service user’s activity _other than time tracking_, both inside and outside the applications. The Company, in its sole discretion, will determine if an integration service violates this bylaw. A third party that has built and deployed an integration for the purpose of remote user surveillance will be required to remove that integration.
|
||||
|
||||
@@ -9,22 +9,22 @@ import { env } from "~/env.server";
|
||||
import { createFirstOrganization } from "~/models/organization.server";
|
||||
|
||||
export const sendEmail: SendEmailFunction<AuthUser> = async (options) => {
|
||||
let subject = "Log in to API Hero";
|
||||
let subject = "Log in to Trigger";
|
||||
let body = renderToString(
|
||||
<div>
|
||||
<p>Hello,</p>
|
||||
<p>
|
||||
Click the link below to securely log in to API Hero. This link will
|
||||
Click the link below to securely log in to Trigger. This link will
|
||||
expire in 15 minutes.
|
||||
</p>
|
||||
<br />
|
||||
<a href={options.magicLink}>Log in to API Hero</a>
|
||||
<a href={options.magicLink}>Log in to Trigger</a>
|
||||
<br />
|
||||
<p>If you did not request this link, you can safely ignore this email.</p>
|
||||
<br />
|
||||
<p>Thanks,</p>
|
||||
<br />
|
||||
<p>The API Hero team</p>
|
||||
<p>The Trigger team</p>
|
||||
</div>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user