We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 354b654 commit c333eb0Copy full SHA for c333eb0
drivers/place/desk/allocations.cr
@@ -252,7 +252,7 @@ class Place::Desk::Allocations < PlaceOS::Driver
252
if email = allocation.email.presence
253
# look up users name
254
user_name = begin
255
- staff_api.calendar(email).get["name"].as_s
+ calendar.get_user(email).get["name"].as_s
256
rescue error
257
logger.error(exception: error) { "failed to find allocation name for #{allocation.email}" }
258
email.split("@")[0].split(' ').map(&.capitalize).join(' ')
0 commit comments