MM-15632 DeleteEphemeralMessage to accept a postId string (#10853)
Before it was accepting `post *model.Post`, and returning one. This is a breaking change for the giphy plugin and any other that rely on the API.
Этот коммит содержится в:
@@ -294,9 +294,9 @@ func (_m *API) DeleteChannelMember(channelId string, userId string) *model.AppEr
|
||||
return r0
|
||||
}
|
||||
|
||||
// DeleteEphemeralPost provides a mock function with given fields: userId, post
|
||||
func (_m *API) DeleteEphemeralPost(userId string, post *model.Post) {
|
||||
_m.Called(userId, post)
|
||||
// DeleteEphemeralPost provides a mock function with given fields: userId, postId
|
||||
func (_m *API) DeleteEphemeralPost(userId string, postId string) {
|
||||
_m.Called(userId, postId)
|
||||
}
|
||||
|
||||
// DeletePost provides a mock function with given fields: postId
|
||||
|
||||
Ссылка в новой задаче
Block a user