feat: hashed api keys
parent
358368194a
commit
c4db335e97
|
@ -27,7 +27,7 @@ export const apiKeysRouter = createProtectedRouter()
|
|||
}),
|
||||
async resolve({ ctx, input }) {
|
||||
const [hashedApiKey, apiKey] = generateUniqueAPIKey();
|
||||
console.log(hashedApiKey);
|
||||
console.table("NOT hashedApiKey:", [hashedApiKey, apiKey]);
|
||||
await ctx.prisma.apiKey
|
||||
.create({
|
||||
data: {
|
||||
|
|
Loading…
Reference in New Issue