Skip to content

Commit

Permalink
delete something else
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley committed Jul 27, 2023
1 parent db17dfd commit 24ab4c8
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions indexer-js-queue-handler/provisioner.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@ export default class Provisioner {
this.crypto = crypto;
}

generatePassword(length = DEFAULT_PASSWORD_LENGTH) {
return this.crypto
.randomBytes(length)
.toString('base64')
.slice(0,length)
.replace(/\+/g, '0')
.replace(/\//g, '0');
}

async createDatabase(name) {
await this.pgClient.query(this.pgClient.format('CREATE DATABASE %I', name));
}
Expand Down

0 comments on commit 24ab4c8

Please sign in to comment.