Refactor: auth architecture (#7256)

This commit is contained in:
shamoon
2026-10-16 22:09:09 -07:00
committed by GitHub
parent 89b0d20655
commit 9628256887
48 changed files with 638 additions and 127 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
import { withAuth } from "utils/auth";
import { widgetsResponse } from "utils/config/api-response";
export default async function handler(req, res) {
async function handler(req, res) {
res.send(await widgetsResponse());
}
export default withAuth(handler);