Skip to content

Commit 718645e

Browse files
authored
Merge pull request dubinc#2381 from dubinc/create-a
"Create a new" → "Create a"
2 parents b3e84fc + d012387 commit 718645e

12 files changed

Lines changed: 18 additions & 20 deletions

File tree

apps/web/app/api/customers/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export const GET = withWorkspace(
175175
},
176176
);
177177

178-
// POST /api/customers – Create a new customer
178+
// POST /api/customers – Create a customer
179179
export const POST = withWorkspace(
180180
async ({ req, workspace }) => {
181181
const { email, name, avatar, externalId } = createCustomerBodySchema.parse(

apps/web/app/api/stripe/integration/webhook/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export async function createNewCustomer(event: Stripe.Event) {
4242
return `Link with ID ${linkId} not found or does not have a project, skipping...`;
4343
}
4444

45-
// Create a new customer
45+
// Create a customer
4646
const customer = await prisma.customer.create({
4747
data: {
4848
id: createId({ prefix: "cus_" }),

apps/web/lib/actions/partners/create-program.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { generateRandomString, nanoid, R2_URL } from "@dub/utils";
1313
import { Program, Project, User } from "@prisma/client";
1414
import { waitUntil } from "@vercel/functions";
1515

16-
// Create a new program from the onboarding data
16+
// Create a program from the onboarding data
1717
export const createProgram = async ({
1818
workspace,
1919
user,

apps/web/lib/actions/request-password-reset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const requestPasswordResetAction = actionClient
5050
},
5151
}),
5252

53-
// Create a new password reset token
53+
// Create a password reset token
5454
prisma.passwordResetToken.create({
5555
data: {
5656
identifier: email,

apps/web/lib/openapi/embed-tokens/create-referrals-embed-token.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
88
export const createReferralsEmbedToken: ZodOpenApiOperationObject = {
99
operationId: "createReferralsEmbedToken",
1010
"x-speakeasy-name-override": "referrals",
11-
summary: "Create a new referrals embed token",
12-
description:
13-
"Create a new referrals embed token for the given partner/tenant.",
11+
summary: "Create a referrals embed token",
12+
description: "Create a referrals embed token for the given partner/tenant.",
1413
requestBody: {
1514
content: {
1615
"application/json": {

apps/web/lib/openapi/folders/create-folder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
55
export const createFolder: ZodOpenApiOperationObject = {
66
operationId: "createFolder",
77
"x-speakeasy-name-override": "create",
8-
summary: "Create a new folder",
9-
description: "Create a new folder for the authenticated workspace.",
8+
summary: "Create a folder",
9+
description: "Create a folder for the authenticated workspace.",
1010
requestBody: {
1111
content: {
1212
"application/json": {

apps/web/lib/openapi/links/create-link.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ export const createLink: ZodOpenApiOperationObject = {
66
operationId: "createLink",
77
"x-speakeasy-name-override": "create",
88
"x-speakeasy-usage-example": true,
9-
summary: "Create a new link",
10-
description: "Create a new link for the authenticated workspace.",
9+
summary: "Create a link",
10+
description: "Create a link for the authenticated workspace.",
1111
requestBody: {
1212
content: {
1313
"application/json": {

apps/web/lib/openapi/partners/create-partner-link.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ export const createPartnerLink: ZodOpenApiOperationObject = {
77
operationId: "createPartnerLink",
88
"x-speakeasy-name-override": "createLink",
99
summary: "Create a link for a partner",
10-
description:
11-
"Create a new link for a partner that is enrolled in your program.",
10+
description: "Create a link for a partner that is enrolled in your program.",
1211
requestBody: {
1312
content: {
1413
"application/json": {

apps/web/lib/openapi/partners/create-partner.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
88
export const createPartner: ZodOpenApiOperationObject = {
99
operationId: "createPartner",
1010
"x-speakeasy-name-override": "create",
11-
summary: "Create a new partner",
11+
summary: "Create a partner",
1212
description:
13-
"Create a new partner for a program. If partner exists, automatically enrolls them.",
13+
"Create a partner for a program. If partner exists, automatically enrolls them.",
1414
requestBody: {
1515
content: {
1616
"application/json": {

apps/web/lib/openapi/tags/create-tag.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { ZodOpenApiOperationObject } from "zod-openapi";
55
export const createTag: ZodOpenApiOperationObject = {
66
operationId: "createTag",
77
"x-speakeasy-name-override": "create",
8-
summary: "Create a new tag",
9-
description: "Create a new tag for the authenticated workspace.",
8+
summary: "Create a tag",
9+
description: "Create a tag for the authenticated workspace.",
1010
requestBody: {
1111
content: {
1212
"application/json": {

0 commit comments

Comments
 (0)