From 0efac09fc6365311a81ab1ea0a83c77dd02dbd7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kr=C3=BCger?= Date: Mon, 19 Apr 2021 12:45:11 +0200 Subject: [PATCH] fix(readme): fix typo and missing import in readme example add StorageService to imports fix typo in AppModule constructor --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7047fa2..7bd23b5 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ $ npm i --save @slynova/flydrive-gcs ```typescript // app.module.ts import { Module } from '@nestjs/common' -import { StorageModule, DriverType } from '@codebrew/nestjs-storage'; +import { StorageModule, DriverType, StorageService } from '@codebrew/nestjs-storage'; @Module({ imports: [ @@ -46,7 +46,7 @@ import { StorageModule, DriverType } from '@codebrew/nestjs-storage'; ], }) export class AppModule { - constructor(private storage: StorageServic) { + constructor(private storage: StorageService) { this.storage.getDisk().put('test.txt', 'text content'); } }