Skip to content

Commit

Permalink
added elenpay for dev as api token (#385)
Browse files Browse the repository at this point in the history
* added elenpay for dev as api token

* restore docker-compose values and format

* restore format docker compose
  • Loading branch information
daliclovr authored Aug 22, 2024
1 parent 59c8f0c commit b63d8cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ services:
command: ["--noauth"]
volumes:
- "bitcoin_datadir:/root/.bitcoin"

nbxplorer_postgres:
container_name: nbxplorer_postgres
image: postgres:16
Expand All @@ -61,4 +61,4 @@ volumes:
bitcoin_datadir:
nbxplorer_datadir:
nbxplorer_postgres_data:
nodeguard_data_keys_dir:
nodeguard_data_keys_dir:
3 changes: 2 additions & 1 deletion src/Data/DbInitializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ public static void Initialize(IServiceProvider serviceProvider)
{
{ "BTCPay", "9Hoz0PMYCsnPUzPO/JbJu8UdaKaAHJsh946xH20UzA0=" },
{ "X", "C+ktTkMGQupY9LY3IkpyqQQ2pDa7idaeSUKUnm+RawI=" },
{ "Liquidator", "8rvSsUGeyXXdDQrHctcTey/xtHdZQEn945KHwccKp9Q=" }
{ "Liquidator", "8rvSsUGeyXXdDQrHctcTey/xtHdZQEn945KHwccKp9Q=" },
{ "ElenPay", "2otDr3IrdARnarQZU8RO0ImQko6CDICyLmGUflKUQWA=" }
};

var existingTokens = applicationDbContext.ApiTokens.Where(token => authenticatedServices.Keys.Contains(token.Name)).ToList();
Expand Down

0 comments on commit b63d8cf

Please sign in to comment.