mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2026-01-31 13:34:52 +01:00
fix dir
This commit is contained in:
@@ -110,8 +110,8 @@ public class AffiliateServerController:Controller
|
||||
return NotFound();
|
||||
|
||||
var path = Path.Combine(_dataDirectories.Value.DataDir, "Plugins", "CoinjoinAffiliate", "History.txt");
|
||||
|
||||
|
||||
|
||||
Directory.CreateDirectory(Path.GetDirectoryName(path));
|
||||
await System.IO.File.AppendAllLinesAsync(path, new[] {JObject.FromObject(request).ToString(Formatting.None).Replace(Environment.NewLine, "")}, Encoding.UTF8);
|
||||
var response = new CoinJoinNotificationResponse(Array.Empty<byte>());
|
||||
return Json(response, AffiliationJsonSerializationOptions.Settings);
|
||||
|
||||
Reference in New Issue
Block a user