fix undefined method `put' for nil:NilClass by passing in snikket_repo to NoUser

SavagePeanut created

Change summary

lib/admin_command.rb | 2 ++
1 file changed, 2 insertions(+)

Detailed changes

lib/admin_command.rb 🔗

@@ -32,10 +32,12 @@ class AdminCommand
 		def initialize(
 			customer_repo,
 			admin_action_repo=AdminActionRepo.new,
+			snikket_repo=Snikket::Repo.new,
 			notice: nil
 		)
 			@customer_repo = customer_repo
 			@admin_action_repo = admin_action_repo
+			@snikket_repo = snikket_repo
 			@notice = notice
 		end