github-actions[bot] commited on
Commit ·
b6f7b56
1
Parent(s): 8314b51
Update from GitHub Actions
Browse files
functions/api/mail/activate.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
|
| 2 |
import { authApiToken, authMiddleware } from "../../utils/auth.js";
|
| 3 |
import { addCorsHeaders } from "../../utils/cors.js";
|
| 4 |
-
import { get_access_token, activateMailbox, syncMailbox } from '../../utils/mail';
|
| 5 |
|
| 6 |
export const onRequest = async (context: RouteContext): Promise<Response> => {
|
| 7 |
const request = context.request;
|
|
|
|
| 1 |
|
| 2 |
import { authApiToken, authMiddleware } from "../../utils/auth.js";
|
| 3 |
import { addCorsHeaders } from "../../utils/cors.js";
|
| 4 |
+
import { get_access_token, activateMailbox, syncMailbox } from '../../utils/mail.js';
|
| 5 |
|
| 6 |
export const onRequest = async (context: RouteContext): Promise<Response> => {
|
| 7 |
const request = context.request;
|
functions/utils/mailboxActivator.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
* 邮箱激活器 - 专门处理邮箱休眠问题
|
| 3 |
*/
|
| 4 |
|
| 5 |
-
import { get_access_token, getEmails, activateMailbox, syncMailbox } from './mail';
|
| 6 |
|
| 7 |
export interface ActivationResult {
|
| 8 |
success: boolean;
|
|
|
|
| 2 |
* 邮箱激活器 - 专门处理邮箱休眠问题
|
| 3 |
*/
|
| 4 |
|
| 5 |
+
import { get_access_token, getEmails, activateMailbox, syncMailbox } from './mail.js';
|
| 6 |
|
| 7 |
export interface ActivationResult {
|
| 8 |
success: boolean;
|