File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -57,15 +57,11 @@ public function fire()
57
57
$ clientId = $ this ->argument ('clientId ' );
58
58
$ clientSecret = $ this ->argument ('clientSecret ' );
59
59
60
- try {
61
- $ this ->clientRepo ->create ($ clientName , $ clientId , $ clientSecret );
62
- $ this ->info ('Client created successfully ' );
63
- $ this ->info ('Client Name: ' .$ clientName );
64
- $ this ->info ('Client ID: ' .$ clientId );
65
- $ this ->info ('Client Secret: ' .$ clientSecret );
66
- } catch (\Exception $ e ) {
67
- $ this ->error ('A client with the same Name, Id or Secret already exists. Try again. ' );
68
- }
60
+ $ this ->clientRepo ->create ($ clientName , $ clientId , $ clientSecret );
61
+ $ this ->info ('Client created successfully ' );
62
+ $ this ->info ('Client Name: ' .$ clientName );
63
+ $ this ->info ('Client ID: ' .$ clientId );
64
+ $ this ->info ('Client Secret: ' .$ clientSecret );
69
65
}
70
66
71
67
/**
You can’t perform that action at this time.
0 commit comments