Skip to content

Commit

Permalink
Merge pull request #210 from pulsar-edit/backend-ver-errors
Browse files Browse the repository at this point in the history
Fix backend version publish bug
  • Loading branch information
confused-Techie authored Dec 17, 2023
2 parents d3a6045 + 48c2bb6 commit 0495d5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controllers/postPackagesPackageNameVersions.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module.exports = {

context.logger.generic(
6,
`${user.content.username} Attempting to publish a new package version - ${param.packageName}`
`${user.content.username} Attempting to publish a new package version - ${params.packageName}`
);

// To support a rename, we need to check if they have permissions over this
Expand All @@ -108,7 +108,7 @@ module.exports = {

// Using our new VCS Service
// TODO: The "git" service shouldn't always be hardcoded.
let packMetadata = await vcs.newVersionData(user.content, ownerRepo, "git");
let packMetadata = await context.vcs.newVersionData(user.content, ownerRepo, "git");

if (!packMetadata.ok) {
const sso = new context.sso();
Expand Down

0 comments on commit 0495d5e

Please sign in to comment.