diff options
author | =Corey Hulen <corey@hulen.com> | 2016-01-20 08:44:05 -0600 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-01-20 08:44:05 -0600 |
commit | ef11df753227f3082d5c2226c0e7525e14ed47c7 (patch) | |
tree | 281d2aff44f17084d6133593e7c0bf12dc3615ec /api/user.go | |
parent | 5b2ec623473abeb44577fbfc9122b792a94a5184 (diff) | |
download | chat-ef11df753227f3082d5c2226c0e7525e14ed47c7.tar.gz chat-ef11df753227f3082d5c2226c0e7525e14ed47c7.tar.bz2 chat-ef11df753227f3082d5c2226c0e7525e14ed47c7.zip |
PLT-7 adding loc db calls for webhooks table
Diffstat (limited to 'api/user.go')
-rw-r--r-- | api/user.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/user.go b/api/user.go index 001caae6c..66125d242 100644 --- a/api/user.go +++ b/api/user.go @@ -1444,11 +1444,11 @@ func PermanentDeleteUser(c *Context, user *model.User) *model.AppError { return result.Err } - if result := <-Srv.Store.Webhook().PermanentDeleteIncomingByUser(user.Id); result.Err != nil { + if result := <-Srv.Store.Webhook().PermanentDeleteIncomingByUser(c.T, user.Id); result.Err != nil { return result.Err } - if result := <-Srv.Store.Webhook().PermanentDeleteOutgoingByUser(user.Id); result.Err != nil { + if result := <-Srv.Store.Webhook().PermanentDeleteOutgoingByUser(c.T, user.Id); result.Err != nil { return result.Err } |