Make sure OOB comes first in payload

Stephen Paul Weber created

Change summary

lib/registration.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Detailed changes

lib/registration.rb 🔗

@@ -256,8 +256,9 @@ class Registration
 			def write
 				Command.reply { |reply|
 					reply.allowed_actions = [:next]
+					toob = oob(reply)
 					reply.note_type = :info
-					reply.note_text = "#{oob(reply).desc}: #{oob(reply).url}"
+					reply.note_text = "#{toob.desc}: #{toob.url}"
 				}.then do
 					CreditCard.for(@customer, @tel, finish: @finish).then(&:write)
 				end