CurrentUser: remove #as method.

Replace with CurrentUser#scoped.
This commit is contained in:
evazion
2021-06-22 23:39:30 -05:00
parent 7f0edc32dd
commit e5cfb7904c
11 changed files with 12 additions and 22 deletions

View File

@@ -15,7 +15,7 @@ class UploadService
if file
# this gets called via XHR so we can process sync
Preprocessor.new(file: file).delayed_start(CurrentUser.id)
Preprocessor.new(file: file).delayed_start(CurrentUser.user)
end
[upload]