mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
@@ -43,8 +43,12 @@ namespace BTCPayServer.Controllers.Greenfield
|
||||
{
|
||||
return validationResult;
|
||||
}
|
||||
|
||||
var defaultCurrency = (await _storeRepository.FindStore(storeId)).GetStoreBlob().DefaultCurrency;
|
||||
|
||||
var store = await _storeRepository.FindStore(storeId);
|
||||
if (store == null)
|
||||
return this.CreateAPIError(404, "store-not-found", "The store was not found");
|
||||
|
||||
var defaultCurrency = store.GetStoreBlob().DefaultCurrency;
|
||||
var appData = new AppData
|
||||
{
|
||||
StoreDataId = storeId,
|
||||
|
||||
Reference in New Issue
Block a user