Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwi committed Jan 10, 2024
1 parent 9f0d43e commit 4ba9eb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const host = process.env.RELAY_HOST



async function authtentication(req, res, next) {
async function authentication(req, res, next) {
console.log(JSON.stringify(req.params))
console.log(JSON.stringify(req.cookies))
console.log(JSON.stringify(req.body))
Expand All @@ -90,7 +90,7 @@ async function apiRequest(endpoint, payload = {}, method = 'POST') {
return resp.data
}

app.get('/', authtentication, async (req, res) => {
app.get('/', authentication, async (req, res) => {
const response = await apiRequest('/api/fabric/subscribers/tokens', token_request)
res.render('index', {
host,
Expand All @@ -110,7 +110,7 @@ app.get('/minimal', async (req, res) => {
});
});

app.get('/oauth', authtentication, (req, res) => {
app.get('/oauth', authentication, (req, res) => {
res.send(200)
});

Expand Down

0 comments on commit 4ba9eb9

Please sign in to comment.