We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5353f0 commit 367dfa3Copy full SHA for 367dfa3
src/teams/utils.go
@@ -51,6 +51,8 @@ func (options *Options) getPresence(mri, bearer string, log *logger.Logger) (str
51
}
52
53
json.Unmarshal([]byte(body), &status)
54
+ bytes, _ := json.MarshalIndent(status, "", " ")
55
+ log.Debug("Response: " + string(bytes))
56
57
if len(status) > 0 {
58
return status[0].Presence.Availability, status[0].Presence.DeviceType, status[0].Presence.CalendarData.OutOfOfficeNote.Message
0 commit comments