From 7588601355edacff5b1a9e03d5c94f6648585382 Mon Sep 17 00:00:00 2001
From: Tihomir Banov <tihomir.banov@processing.com>
Date: Mon, 30 Nov 2020 15:39:59 +0200
Subject: [PATCH] Fixed wrong editor config name

---
 src/EditCredentialsCommand.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/EditCredentialsCommand.php b/src/EditCredentialsCommand.php
index efb7aad..f26fe66 100644
--- a/src/EditCredentialsCommand.php
+++ b/src/EditCredentialsCommand.php
@@ -39,7 +39,7 @@ public function handle(Credentials $credentials)
 
         fwrite($handle, json_encode($decrypted, JSON_PRETTY_PRINT | JSON_FORCE_OBJECT));
 
-        $editor = config('credential.editor', 'vi');
+        $editor = config('credentials.editor', 'vi');
 
         $process = new Process([$editor, $meta['uri']]);