Skip to content

Commit

Permalink
fix_: keep old API
Browse files Browse the repository at this point in the history
  • Loading branch information
qfrank committed Sep 18, 2024
1 parent 8c7d2f0 commit d5b2616
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions services/ext/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,11 @@ func (api *PublicAPI) SyncDevices(ctx context.Context, name, picture string) err
return api.service.messenger.SyncDevices(ctx, name, picture, nil)
}

// Deprecated: Use EnableInstallationAndSync instead
func (api *PublicAPI) EnableAndSyncInstallation(request *requests.EnableInstallationAndSync) (*protocol.MessengerResponse, error) {
return api.service.messenger.EnableInstallationAndSync(request)
}

func (api *PublicAPI) EnableInstallationAndSync(request *requests.EnableInstallationAndSync) (*protocol.MessengerResponse, error) {
return api.service.messenger.EnableInstallationAndSync(request)
}
Expand Down

0 comments on commit d5b2616

Please sign in to comment.