Fix zap receipt not being stored correctly
All checks were successful
continuous-integration/drone/push Build is passing

fixes #194
This commit is contained in:
2024-06-07 13:40:49 +02:00
parent 8bc9bbdc33
commit 8949d76d26

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