We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d22499 commit a4d49ebCopy full SHA for a4d49eb
1 file changed
app/Services/Nodes/NodeCreationService.php
@@ -41,8 +41,8 @@ public function __construct(Encrypter $encrypter, NodeRepositoryInterface $repos
41
*/
42
public function handle(array $data)
43
{
44
- $data['daemon_token'] = Str::random(Node::DAEMON_TOKEN_LENGTH);
45
- $data['daemon_token_id'] = $this->encrypter->encrypt(Str::random(Node::DAEMON_TOKEN_ID_LENGTH));
+ $data['daemon_token'] = $this->encrypter->encrypt(Str::random(Node::DAEMON_TOKEN_LENGTH));
+ $data['daemon_token_id'] = Str::random(Node::DAEMON_TOKEN_ID_LENGTH);
46
47
return $this->repository->create($data, true, true);
48
}
0 commit comments