return to test

This commit is contained in:
Karol Wypchlo 2021-02-11 22:40:21 +01:00
parent a77d5fc719
commit f05d7beb39
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ export default async (req, res) => {
console.log(req.rawHeaders);
try {
const auth = await superagent
.set("Cookie", serialize("ory_kratos_session", req.cookies.ory_kratos_session))
.get("/user");
.get("/user")
.set("Cookie", serialize("ory_kratos_session", req.cookies.ory_kratos_session));
console.log(auth.header);