mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-11 12:15:34 +08:00
Refactor MDM service to return a payload from check-ins (#764)
* Refactor MDM service to return a payload from check-ins * Documented public methods, add documentation to main service interface * Remove interface-implementing comments
This commit is contained in:
@@ -58,7 +58,7 @@ func (mw removeMiddleware) Acknowledge(ctx context.Context, req mdm.AcknowledgeE
|
||||
return mw.next.Acknowledge(ctx, req)
|
||||
}
|
||||
|
||||
func (mw removeMiddleware) Checkin(ctx context.Context, req mdm.CheckinEvent) error {
|
||||
func (mw removeMiddleware) Checkin(ctx context.Context, req mdm.CheckinEvent) ([]byte, error) {
|
||||
return mw.next.Checkin(ctx, req)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user