Skip to content

Commit

Permalink
Revert ":recycle: (gocardless) renamed nordigen_* secrets to gocardle…
Browse files Browse the repository at this point in the history
…ss_*"

This reverts commit 633463a.
  • Loading branch information
MatissJanis committed Dec 15, 2023
1 parent 633463a commit c910b6e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 29 deletions.
19 changes: 0 additions & 19 deletions migrations/1702667624000-rename-nordigen-secrets.js

This file was deleted.

4 changes: 2 additions & 2 deletions src/app-gocardless/services/gocardless-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const clients = new Map();

const getGocardlessClient = () => {
const secrets = {
secretId: secretsService.get(SecretName.gocardless_secretId),
secretKey: secretsService.get(SecretName.gocardless_secretKey),
secretId: secretsService.get(SecretName.nordigen_secretId),
secretKey: secretsService.get(SecretName.nordigen_secretKey),
};

const hash = JSON.stringify(secrets);
Expand Down
1 change: 1 addition & 0 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ app.use(

app.use('/sync', syncApp.handlers);
app.use('/account', accountApp.handlers);
app.use('/nordigen', goCardlessApp.handlers);
app.use('/gocardless', goCardlessApp.handlers);
app.use('/secret', secretApp.handlers);

Expand Down
4 changes: 2 additions & 2 deletions src/services/secrets-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import getAccountDb from '../account-db.js';
* @enum {string}
*/
export const SecretName = {
gocardless_secretId: 'gocardless_secretId',
gocardless_secretKey: 'gocardless_secretKey',
nordigen_secretId: 'nordigen_secretId',
nordigen_secretKey: 'nordigen_secretKey',
};

class SecretsDb {
Expand Down
6 changes: 0 additions & 6 deletions upcoming-release-notes/293.md

This file was deleted.

0 comments on commit c910b6e

Please sign in to comment.