MaiXinRong %!s(int64=2) %!d(string=hai) anos
pai
achega
e6c224661f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/stage.js

+ 1 - 1
app/service/stage.js

@@ -104,7 +104,7 @@ module.exports = app => {
                 if (!stage.readOnly) stage.assist = ass;
             }
             if (stage.readOnly) {
-                stage.assist = accountId === stage.user_id || auditorIds.indexOf(accountId) >= 0
+                stage.assist = accountId === stage.user_id || stage.auditorIds.indexOf(accountId) >= 0
                     ? null
                     : stage.assists.find(x => { return x.ass_user_id === accountId});
             }