Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslemammad committed Mar 27, 2024
1 parent 89b9ea3 commit b06eac8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/backend/server/routes/publish.post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ export default eventHandler(async (event) => {
const packagesBucket = usePackagesBucket(event);
const cursorBucket = useCursorBucket(event);
if (!(await workflowsBucket.hasItem(key))) {
console.log('key', key)
throw createError({
statusCode: 401,
message: "Try publishing from a github workflow"
message: "Try publishing from a github workflow or install Stackblitz CR Github app on this repo"
})
}

Expand Down

0 comments on commit b06eac8

Please sign in to comment.