Always use constants.SECRET_PLACEHOLDER

This commit is contained in:
Johannes Zellner
2020-05-14 23:01:44 +02:00
parent a1f263c048
commit 9bdeff0a39
17 changed files with 45 additions and 41 deletions

View File

@@ -32,13 +32,13 @@ var assert = require('assert'),
EventEmitter = require('events');
function removePrivateFields(apiConfig) {
// in-place removal of tokens and api keys with domains.SECRET_PLACEHOLDER
// in-place removal of tokens and api keys with constants.SECRET_PLACEHOLDER
return apiConfig;
}
// eslint-disable-next-line no-unused-vars
function injectPrivateFields(newConfig, currentConfig) {
// in-place injection of tokens and api keys which came in with domains.SECRET_PLACEHOLDER
// in-place injection of tokens and api keys which came in with constants.SECRET_PLACEHOLDER
}
function upload(apiConfig, backupFilePath, sourceStream, callback) {