Skip to content

Commit

Permalink
made MinioOptions optional
Browse files Browse the repository at this point in the history
  • Loading branch information
nimasfl committed Mar 12, 2021
1 parent b246ca3 commit e0f63e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nimasfl/nest-minio",
"version": "1.4.1",
"version": "1.4.2",
"description": "nest minio module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/minio.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {MINIO_CONFIG, MINIO_OPTIONS} from "./types/constants";
export class MinioModule {
static register(
minioConfig: ClientOptions,
minioOptions: MinioOptions,
minioOptions: MinioOptions = null,
): DynamicModule {
return {
global: true,
Expand Down

0 comments on commit e0f63e7

Please sign in to comment.