Skip to content

Commit af69880

Browse files
authored
chore(sdk): genericize appToken comment (no private-product references) (#29)
Core is open source; the appToken schema comment named a private downstream hook/file. Describe the behavior generically — a multi-tenant host uses the token to route the install to the right tenant; single-tenant deployments ignore it. No functional change.
1 parent 3492de4 commit af69880

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/routes/sdk.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ export async function sdkRoutes(fastify: FastifyInstance) {
5858
sdkName: z.string().max(50).optional(),
5959
sdkVersion: z.string().max(50).optional(),
6060
// Public app token shipped in SDK app bundles to scope organic
61-
// installs to the right org in multi-tenant deployments. Used by
62-
// Cloud's onSend hook (see cloud-event-hook.ts). Self-hosted
61+
// installs to the right org in multi-tenant deployments. A multi-tenant
62+
// host reads it to route the install to the correct tenant; self-hosted
6363
// single-tenant deployments simply ignore it.
6464
appToken: z.string().optional(),
6565
});

0 commit comments

Comments
 (0)