Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
benib committed Nov 27, 2017
1 parent e4c3ece commit d5fdeef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ const levelTags = {
async function register (server, options) {
options.serializers = options.serializers || {}
if (options.serializers.req) {
const oriqReqSerializer = options.serializers.req
const origReqSerializer = options.serializers.req
options.serializers.req = (req) => {
return oriqReqSerializer(asReqValue(req))
return origReqSerializer(asReqValue(req))
}
} else if (options.serializers.req !== null) {
options.serializers.req = asReqValue
Expand Down

0 comments on commit d5fdeef

Please sign in to comment.