File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
authorization/src/controllers
database/src/adapters/sequelize-adapter Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ export class PermissionsController {
215215 } ,
216216 ] ,
217217 sqlQuery :
218- dbType === 'PostgreSQL '
218+ dbType === 'postgres '
219219 ? getPostgresAccessListQuery (
220220 objectTypeCollection ,
221221 computedTuple ,
Original file line number Diff line number Diff line change @@ -363,11 +363,7 @@ export abstract class SequelizeAdapter extends DatabaseAdapter<SequelizeSchema>
363363 }
364364
365365 getDatabaseType ( ) : string {
366- const type = this . sequelize . getDialect ( ) ;
367- if ( type === 'postgres' ) {
368- return 'PostgreSQL' ; // TODO: clean up
369- }
370- return type ;
366+ return this . sequelize . getDialect ( ) ;
371367 }
372368
373369 async createIndex (
You can’t perform that action at this time.
0 commit comments