MCPcopy Create free account
hub / github.com/TornadoInsight/Sora-FullStack / addEmail

Function addEmail

src/api/fetchData.ts:3–11  ·  view source on GitHub ↗
(email: string)

Source from the content-addressed store, hash-verified

1'use server'
2
3export async function addEmail(email: string) {
4 const mail_base = process.env.USER_EMAIL_SECRET
5 await fetch(mail_base + '/addEmail?email=' + email, {
6 method: 'GET',
7 headers: {
8 'Content-Type': 'application/json',
9 },
10 })
11}

Callers 1

handleSubmitFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected