message: Update services/api/src/resources/deployment/resolvers.js
diff: @@ -724,7 +724,7 @@ const deployEnvironmentPromote = async (
  const sourceEnvironment = R.prop(0, activeEnvironments);
  await hasPermission('environment', 'view', {
  - project: sourceEnvironment.project.id,
  + project: sourceEnvironment.project
  });
  const deployData = {
  