mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Spent a hour fixing the login & registing system & also finding errors
Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run
Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run
in the custom groq api system (also a typo wasted way too much time)
This commit is contained in:
parent
a8d675e2ae
commit
1eb15058d7
3 changed files with 25 additions and 18 deletions
|
@ -11,6 +11,7 @@ export default defineEventHandler(async (event) => {
|
|||
const protocol = getRequestProtocol(event);
|
||||
const slug = getRouterParam(event, "slug");
|
||||
const userToken = getCookie(event, "token") || "";
|
||||
console.log("Token: ", userToken);
|
||||
const doesTheUserHasACustomGroqApiAndWhatIsIt =
|
||||
await checkIfUserHasCustomGroqKey(userToken);
|
||||
let groqClient = groq;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue