rename foreign uuid attributes
[arvados.git] / services / api / script / crunch-dispatch.rb
index dc739870ad3846ddc76455166a5030ada8d92a19..0bcb5d56c057738250b126fe131d2998925113c9 100755 (executable)
@@ -80,7 +80,7 @@ class Dispatcher
       end
 
       job_auth = ApiClientAuthorization.
-        new(user: User.where('uuid=?', job.modified_by_user).first,
+        new(user: User.where('uuid=?', job.modified_by_user_uuid).first,
             api_client_id: 0)
       job_auth.save