Decouple User from Store

This commit is contained in:
NicolasDorier
2017-09-13 23:50:36 +09:00
parent 79200412fd
commit 467ecd0923
40 changed files with 919 additions and 336 deletions

View File

@@ -88,7 +88,7 @@ namespace BTCPayServer.Controllers
var entity = new InvoiceEntity
{
InvoiceTime = DateTimeOffset.UtcNow,
DerivationStrategy = derivationStrategy ?? throw new BitpayHttpException(400, "This user has not configured his derivation strategy")
DerivationStrategy = derivationStrategy ?? throw new BitpayHttpException(400, "This store has not configured the derivation strategy")
};
EmailAddressAttribute emailValidator = new EmailAddressAttribute();
entity.ExpirationTime = entity.InvoiceTime + TimeSpan.FromMinutes(15.0);