Skip to content

Commit

Permalink
revert(define_setting): yaml not supported in drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed Jul 26, 2023
1 parent ba4f2dd commit d56c954
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: placeos-driver
version: 6.9.3
version: 6.9.4
crystal: ">= 1.0.0"

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion src/placeos-driver.cr
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ abstract class PlaceOS::Driver

# if you would like to save an updated value to settings so it survives restarts
def define_setting(name, value)
PlaceOS::Driver::Protocol.instance.request(@__module_id__, :setting, {name, value}.to_yaml, raw: true)
PlaceOS::Driver::Protocol.instance.request(@__module_id__, :setting, {name, value})
end

# Queue a task that intends to use the transport layer
Expand Down

0 comments on commit d56c954

Please sign in to comment.