mirror of
https://github.com/System-End/site.git
synced 2026-04-19 22:05:11 +00:00
Remove unneeded console.logs
This commit is contained in:
parent
1c30a67c4e
commit
361d35a3d3
2 changed files with 0 additions and 3 deletions
|
|
@ -18,7 +18,6 @@ export const testAuth = async (authToken) => {
|
|||
}
|
||||
|
||||
export const ensureAuthed = async (req) => {
|
||||
console.log({...req.headers})
|
||||
const authToken = req.headers['authorization']?.replace('Bearer ', '')
|
||||
const user = await testAuth(authToken || '')
|
||||
if (!user) {
|
||||
|
|
|
|||
|
|
@ -17,8 +17,6 @@ export default async function handler(req, res) {
|
|||
filterByFormula: `{User} = '${user.fields['Name']}'`
|
||||
})
|
||||
|
||||
console.log({projects})
|
||||
console.log({fields: projects[0].fields})
|
||||
const results = projects.map(p => ({
|
||||
id: p.id,
|
||||
title: p.fields['Name'] || '',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue