From 4ad9e06269776b1a055810d6657ccb63c2302adf Mon Sep 17 00:00:00 2001 From: thosakwe Date: Sun, 5 Mar 2017 21:06:52 -0500 Subject: [PATCH] 66 --- README.md | 2 +- lib/src/http/server.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9d89f3f9..8e7f90a7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # angel_framework -[![pub 1.0.0-dev.65](https://img.shields.io/badge/pub-1.0.0--dev.65-red.svg)](https://pub.dartlang.org/packages/angel_framework) +[![pub 1.0.0-dev.66](https://img.shields.io/badge/pub-1.0.0--dev.66-red.svg)](https://pub.dartlang.org/packages/angel_framework) [![build status](https://travis-ci.org/angel-dart/framework.svg)](https://travis-ci.org/angel-dart/framework) Core libraries for the Angel Framework. diff --git a/lib/src/http/server.dart b/lib/src/http/server.dart index b614eda1..08b900dc 100644 --- a/lib/src/http/server.dart +++ b/lib/src/http/server.dart @@ -150,7 +150,7 @@ class Angel extends AngelBase { /// Shortcut for adding a middleware to inject a serialize on every request. void injectSerializer(ResponseSerializer serializer) { before.add((RequestContext req, ResponseContext res) async { - res.serializer = serialize; + res.serializer = serializer; return true; }); } diff --git a/pubspec.yaml b/pubspec.yaml index 8e0d0a92..463e9a37 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: angel_framework -version: 1.0.0-dev.65 +version: 1.0.0-dev.66 description: Core libraries for the Angel framework. author: Tobe O homepage: https://github.com/angel-dart/angel_framework