From 679d1927aa1eaa5b8a20c103a57b0cf69a538554 Mon Sep 17 00:00:00 2001 From: Manager Bot Date: Tue, 6 Dec 2022 02:34:13 +0000 Subject: [PATCH] Fix bug. --- Web/lib/MJB/Web/Controller/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/lib/MJB/Web/Controller/Auth.pm b/Web/lib/MJB/Web/Controller/Auth.pm index dade5f2..788df47 100644 --- a/Web/lib/MJB/Web/Controller/Auth.pm +++ b/Web/lib/MJB/Web/Controller/Auth.pm @@ -255,7 +255,7 @@ sub do_register_stripe ( $c ) { $person->new_related('auth_password', {})->set_password($c->param('password')); # Create the subscription. - $person->subscription->insert; + $person->create_related('subscription', {}); # Notify the system about the new account. $c->db->system_notes->create({