Skip to content

Commit

Permalink
fix: set dedicated to false when node is created #127
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanVerstraete committed Aug 9, 2023
1 parent fc306bd commit ddf85b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mappings/nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export async function nodeStored(
newNode.farmID = nodeEvent.farmId
newNode.nodeID = nodeEvent.id
newNode.twinID = nodeEvent.twinId
newNode.dedicated = false

newNode.createdAt = timestamp
newNode.updatedAt = timestamp
Expand Down

0 comments on commit ddf85b2

Please sign in to comment.