[MM-55631] Remove extra call to Draft().Get() (#25563)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2ff0fe343e
Коммит
639181dcc1
@@ -135,7 +135,7 @@ func deleteDraft(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
if _, err := c.App.DeleteDraft(c.AppContext, userID, channelID, rootID, connectionID); err != nil {
|
||||
if err := c.App.DeleteDraft(c.AppContext, draft, connectionID); err != nil {
|
||||
c.Err = err
|
||||
return
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user