@keystrokehq/platform 0.0.143 → 0.0.144

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/run.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  const require_config = require("./config.cjs");
2
- const require_start = require("./start-eb5N4STA.cjs");
2
+ const require_start = require("./start-DGwGOG3U.cjs");
3
3
  //#region src/run.ts
4
4
  async function main() {
5
5
  await require_start.startPlatformServer(require_config.definePlatformConfig());
package/dist/run.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { definePlatformConfig } from "./config.mjs";
2
- import { t as startPlatformServer } from "./start-B1XTyMBb.mjs";
2
+ import { t as startPlatformServer } from "./start-D3Fbs5Fg.mjs";
3
3
  //#region src/run.ts
4
4
  async function main() {
5
5
  await startPlatformServer(definePlatformConfig());
@@ -3121,7 +3121,7 @@ function withProjectRuntime() {
3121
3121
  const organization = await selectOrganizationById(project.organizationId);
3122
3122
  if (!organization) return c.json({ error: "Organization not found" }, 404);
3123
3123
  const url = resolveOrgDatabaseUrl(organization);
3124
- await runWithOrganizationScope(project.organizationId, () => runWithProjectDatabase({
3124
+ return runWithOrganizationScope(project.organizationId, () => runWithProjectDatabase({
3125
3125
  url,
3126
3126
  searchPath: organization.dbSchema
3127
3127
  }, async () => runWithProjectScope(project.id, async () => runWithTenantScope(project.organizationId, async () => {
@@ -3921,4 +3921,4 @@ async function startPlatformServer(platformConfig, hooks = {}) {
3921
3921
  //#endregion
3922
3922
  export { startPlatformServer as t };
3923
3923
 
3924
- //# sourceMappingURL=start-B1XTyMBb.mjs.map
3924
+ //# sourceMappingURL=start-D3Fbs5Fg.mjs.map