Skip to content

Commit

Permalink
Change file path
Browse files Browse the repository at this point in the history
  • Loading branch information
Lerbert committed Sep 23, 2021
1 parent 8ccb668 commit 358cac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebService/Sources/Demo/SensorData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct Location: Content, Decodable {
struct SensorData: Handler {
func handle() -> SensorDump? {
do {
return try JSONDecoder().decode(SensorDump.self, from: try Data(contentsOf: URL(fileURLWithPath: "/buoy/test.json")))
return try JSONDecoder().decode(SensorDump.self, from: try Data(contentsOf: URL(fileURLWithPath: "/buoy/data/measurements.json")))
} catch {
return nil
}
Expand Down

0 comments on commit 358cac3

Please sign in to comment.