Skip to content

Commit a802ea9

Browse files
committed
Update HTTP.GetDevice.V1 regex
1 parent 3319cde commit a802ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protocol/http/devices/get.v1.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ name "get_device"
44
endpoint "/device/:uuid"
55
verb "get"
66

7-
attribute :uuid, :string, format: ~r/\Ad{5}\-d{5}\-d{5}\-d{5}\-d{5}\z/
7+
attribute :uuid, :string, format: ~r/\A\d{5}\-\d{5}\-\d{5}\-\d{5}\-\d{5}\z/

0 commit comments

Comments
 (0)