Reference the correct column in the DB

This commit is contained in:
Dane Everitt 2017-03-15 21:39:50 -04:00
parent 1852018397
commit db072025d4
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -262,7 +262,7 @@ class NodeRepository
Models\Allocation::where('node_id', $node->id)->delete();
// Delete configure tokens
Models\NodeConfigurationToken::where('node', $node->id)->delete();
Models\NodeConfigurationToken::where('node_id', $node->id)->delete();
// Delete Node
$node->delete();