1
1
mirror of https://github.com/Burn-E99/TheArtificer.git synced 2026-06-04 09:03:50 -04:00

update common embed location, move some back into their own files

This commit is contained in:
Ean Milligan
2025-05-03 20:47:58 -04:00
parent f6eb3b2b69
commit f2797e6c33
36 changed files with 229 additions and 215 deletions

View File

@@ -8,7 +8,8 @@ import dbClient from 'db/client.ts';
import stdResp from 'endpoints/stdResponses.ts';
import { verifyQueryHasParams } from 'endpoints/utils.ts';
import { generateApiDeleteEmail } from 'src/commandUtils.ts';
import { generateApiDeleteEmail } from 'embeds/api.ts';
import utils from 'src/utils.ts';
export const apiKeyDelete = async (query: Map<string, string>, apiUserid: bigint, apiUserEmail: string, apiUserDelCode: string): Promise<Response> => {

View File

@@ -8,7 +8,8 @@ import dbClient from 'db/client.ts';
import stdResp from 'endpoints/stdResponses.ts';
import { verifyQueryHasParams } from 'endpoints/utils.ts';
import { generateApiKeyEmail } from 'src/commandUtils.ts';
import { generateApiKeyEmail } from 'embeds/api.ts';
import utils from 'src/utils.ts';
export const apiKey = async (query: Map<string, string>): Promise<Response> => {