From 44a30ecf9a885720130c38ccf435d74e9e1b8009 Mon Sep 17 00:00:00 2001 From: Musilah Date: Fri, 23 Feb 2024 12:32:15 +0300 Subject: [PATCH] fix CI Signed-off-by: Musilah --- pkg/sdk/mocks/sdk.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/sdk/mocks/sdk.go b/pkg/sdk/mocks/sdk.go index 9153657a073..dd88d46fc56 100644 --- a/pkg/sdk/mocks/sdk.go +++ b/pkg/sdk/mocks/sdk.go @@ -1814,17 +1814,17 @@ func (_m *SDK) ReadMessages(pm sdk.MessagePageMeta, chanID string, token string) var r0 sdk.MessagesPage var r1 errors.SDKError - if rf, ok := ret.Get(0).(func(sdk.PageMetadata, string, string) (sdk.MessagesPage, errors.SDKError)); ok { - return rf(pm.PageMetadata, chanID, token) + if rf, ok := ret.Get(0).(func(sdk.MessagePageMeta, string, string) (sdk.MessagesPage, errors.SDKError)); ok { + return rf(pm, chanID, token) } - if rf, ok := ret.Get(0).(func(sdk.PageMetadata, string, string) sdk.MessagesPage); ok { - r0 = rf(pm.PageMetadata, chanID, token) + if rf, ok := ret.Get(0).(func(sdk.MessagePageMeta, string, string) sdk.MessagesPage); ok { + r0 = rf(pm, chanID, token) } else { r0 = ret.Get(0).(sdk.MessagesPage) } - if rf, ok := ret.Get(1).(func(sdk.PageMetadata, string, string) errors.SDKError); ok { - r1 = rf(pm.PageMetadata, chanID, token) + if rf, ok := ret.Get(1).(func(sdk.MessagePageMeta, string, string) errors.SDKError); ok { + r1 = rf(pm, chanID, token) } else { if ret.Get(1) != nil { r1 = ret.Get(1).(errors.SDKError)