[deploy] Don't Touch User Twice for New Follow (#7893)

This commit is contained in:
Molly Struve 2020-05-15 16:31:43 -05:00 committed by GitHub
parent 3432c96ede
commit ed8893a734
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,6 @@ class FollowsController < ApplicationController
follow(followable, need_notification: need_notification)
end
current_user.touch
render json: { outcome: @result }
end