Skip to content

Commit 1ce9632

Browse files
committed
Removing Casbin db console output; updating swagger
1 parent fc17e5f commit 1ce9632

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

src/utils/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ const loadCasbin = async () => {
5050
}
5151
} : { logging: false };
5252
const a = await SequelizeAdapter.newAdapter(
53-
dbUrl(),
5453
{
54+
...dbUrl(),
5555
logging: false,
5656
dialect: 'postgres',
57-
dialectOptions: dialectOptions
57+
dialectOptions
5858
}
5959
);
6060

swagger.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,22 +1233,6 @@
12331233
"schema" : {
12341234
"type" : "object",
12351235
"properties" : {
1236-
"entityIds" : {
1237-
"type" : "array",
1238-
"items" : {
1239-
"type" : "string",
1240-
"format" : "uuid",
1241-
"example" : "05533f95-b440-4f9d-876d-653636dce0c8"
1242-
}
1243-
},
1244-
"contactIds" : {
1245-
"type" : "array",
1246-
"items" : {
1247-
"type" : "string",
1248-
"format" : "uuid",
1249-
"example" : "05533f95-b440-4f9d-876d-653636dce0c8"
1250-
}
1251-
},
12521236
"relationshipTitle" : {
12531237
"type" : "array",
12541238
"items" : {

0 commit comments

Comments
 (0)