Skip to content

Commit

Permalink
refactor: ♻️ update codefair name
Browse files Browse the repository at this point in the history
  • Loading branch information
slugb0t committed Nov 22, 2024
1 parent 242bde1 commit 303824b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ui/server/api/[owner]/[repo]/cwl-validation/rerun.post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default defineEventHandler(async (event) => {
if (
issue.user?.login !== "codefair-test[bot]" &&
issue.user?.login !== "codefair-staging[bot]" &&
issue.user?.login !== "codefair-app[bot]"
issue.user?.login !== "codefair-io[bot]"
) {
throw createError({
statusCode: 400,
Expand Down
2 changes: 1 addition & 1 deletion ui/server/api/[owner]/[repo]/license/custom_title.put.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default defineEventHandler(async (event) => {
if (
issue.user?.login !== "codefair-test[bot]" &&
issue.user?.login !== "codefair-staging[bot]" &&
issue.user?.login !== "codefair-app[bot]"
issue.user?.login !== "codefair-io[bot]"
) {
throw createError({
statusCode: 400,
Expand Down
2 changes: 1 addition & 1 deletion ui/server/api/[owner]/[repo]/release/zenodo/index.post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export default defineEventHandler(async (event) => {
if (
issue.user?.login !== "codefair-test[bot]" &&
issue.user?.login !== "codefair-staging[bot]" &&
issue.user?.login !== "codefair-app[bot]"
issue.user?.login !== "codefair-io[bot]"
) {
throw createError({
statusCode: 400,
Expand Down
2 changes: 1 addition & 1 deletion ui/server/api/[owner]/[repo]/rerun.post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default defineEventHandler(async (event) => {
if (
issue.user?.login !== "codefair-test[bot]" &&
issue.user?.login !== "codefair-staging[bot]" &&
issue.user?.login !== "codefair-app[bot]"
issue.user?.login !== "codefair-io[bot]"
) {
throw createError({
statusCode: 400,
Expand Down

0 comments on commit 303824b

Please sign in to comment.