diff options
Diffstat (limited to 'cli/Commands/Twillo')
| -rw-r--r-- | cli/Commands/Twillo/PrivateKeys.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/Commands/Twillo/PrivateKeys.php b/cli/Commands/Twillo/PrivateKeys.php index 06dd121..c517e5b 100644 --- a/cli/Commands/Twillo/PrivateKeys.php +++ b/cli/Commands/Twillo/PrivateKeys.php @@ -2,7 +2,7 @@ namespace Studip\Cli\Commands\Twillo; use Config; -use EduSharingHelper; +use \EduSharingApiClient\EduSharingHelper; use Studip\Cli\Commands\AbstractCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; @@ -32,13 +32,13 @@ final class PrivateKeys extends AbstractCommand $key = EduSharingHelper::generateKeyPair(); $success = file_put_contents( $properties, - EduSharingHelper::generateEduAppXMLData($appId, $key['publickey']) + EduSharingHelper::generateEduAppXMLData($appId, $key['publicKey']) ); if ($success !== false) { file_put_contents( $privateKey, - $key['privatekey'] + $key['privateKey'] ); Config::get()->store('OERCAMPUS_TWILLO_APPID', $appId); |
