2 Commits

Author SHA1 Message Date
9f1af3a9aa Merge branch 'master' into live
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-07 14:13:53 +02:00
8949d76d26 Fix zap receipt not being stored correctly
All checks were successful
continuous-integration/drone/push Build is passing
fixes #194
2024-06-07 13:40:49 +02:00

View File

@@ -13,7 +13,7 @@ class WebhooksController < ApplicationController
paid_at: Time.parse(@payload[:settled_at]).to_i,
preimage: @payload[:preimage]
)
@zap.update! receipt: @zap_receipt.to_h
@zap.update! receipt: zap_receipt.to_h
NostrManager::PublishZapReceipt.call(zap: @zap)
end