Skip to content

Commit

Permalink
fix(interface/guest_building_access): require guest name
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed Sep 12, 2024
1 parent dad4ff3 commit d8a81e3
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: 7.2.5
version: 7.2.6
crystal: ">= 1.0.0"

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion src/placeos-driver/interface/guest_building_access.cr
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ abstract class PlaceOS::Driver
# a function for granting guests access to a building
# should return a payload that can be encoded into a QR code
# the response is expected to be hexstring
abstract def grant_guest_access(email : String, starting : Int64, ending : Int64) : AccessDetails
abstract def grant_guest_access(name : String, email : String, starting : Int64, ending : Int64) : AccessDetails

# where details is an instance of your AccessDetails subclass
abstract protected def revoke_access(details)

Check failure on line 30 in src/placeos-driver/interface/guest_building_access.cr

View workflow job for this annotation

GitHub Actions / deploy

unexpected token: "protected"
Expand Down

0 comments on commit d8a81e3

Please sign in to comment.