Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Commit

Permalink
1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Fi1osof committed Dec 24, 2018
1 parent d063b1b commit fd16b90
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.1.4
===============================
- getApiSchema() now get prisma schema from current module dir only

1.1.3
===============================
- Move tests
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@prisma-cms/module-bilerplate",
"description": "Module boilerplate for @prisma-cms/server",
"version": "1.1.3-beta",
"version": "1.1.4",
"main": "src/",
"files": [
"src"
Expand Down
2 changes: 1 addition & 1 deletion src/modules/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Module extends PrismaModule {

let baseSchema = [];

let schemaFile = "src/schema/generated/prisma.graphql";
let schemaFile = __dirname + "/../schema/generated/prisma.graphql";

if (fs.existsSync(schemaFile)) {
baseSchema = fs.readFileSync(schemaFile, "utf-8");
Expand Down

0 comments on commit fd16b90

Please sign in to comment.