Skip to content

Commit

Permalink
fix: renamed db to storage
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Jun 11, 2023
1 parent 3c60a40 commit 4766428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class SocketServer extends EventEmitter {
if (this.authorize) {
data.host = this.getHost(req)
const permission = await this.authorize.check(action, data, user_id)
if (permission.dbUrl === false) {
if (permission.storage === false) {
data.database = process.env.organization_id
data.organization_id = process.env.organization_id

Expand Down

0 comments on commit 4766428

Please sign in to comment.