mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Fix open articles in the TTY, as it is broken while in the demo. And
Added YouTube OnBoarding to the App (Currently in testing and this is the beta branch :) Oh also updated some more stuff as well!
This commit is contained in:
parent
378689da87
commit
3d392dd788
5 changed files with 54 additions and 36 deletions
|
@ -2,7 +2,7 @@ import sql from "~/server/components/postgres";
|
|||
import getUserTokenMinusSQLInjection from "~/server/components/getUserToken";
|
||||
export default defineEventHandler(async (event) => {
|
||||
// Check user data.
|
||||
const user = getUserTokenMinusSQLInjection(event);
|
||||
const user = await getUserTokenMinusSQLInjection(event);
|
||||
if (user.error.length !== 0) {
|
||||
return {
|
||||
error: user.error,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue