diff --git a/README.md b/README.md index e6f3661..aad419d 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ The function handles eventual rejections coming from the data-adapter.
```typescript // in your server import express from 'express' -import { errorHandler } from '@kedoska/resty' +import resty, { errorHandler } from '@kedoska/resty' const app = express() app.use( diff --git a/package.json b/package.json index 498fd3d..af5d2c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kedoska/resty", - "version": "0.0.4", + "version": "0.0.5", "description": "Quick and dirty JSON CRUD REST API for your express servers", "main": "index.js", "types": "index.d.ts",