diff --git a/indexer-js-queue-handler/provisioner.js b/indexer-js-queue-handler/provisioner.js index d1f2b1f7b..ec9050176 100644 --- a/indexer-js-queue-handler/provisioner.js +++ b/indexer-js-queue-handler/provisioner.js @@ -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)); }