Skip to content

Commit

Permalink
test. fjernet userResDecorator
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikv committed Aug 7, 2024
1 parent b5ece03 commit 507a7a3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/src/proxy/decorator-intern-proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ const setup = (app: Express) => {
}
return options;
},
userResDecorator: (proxyRes: IncomingMessage, proxyResData: any, userReq: Request, userRes: Response) => {
const data = JSON.parse(proxyResData.toString('utf8'));
return JSON.stringify({ ...data, ident: data.identifikator || '' });
},
}),
);

Expand Down

0 comments on commit 507a7a3

Please sign in to comment.