Skip to content

Commit 1737313

Browse files
committed
minor
1 parent 0a40656 commit 1737313

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

packages/libs/backend/src/services.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ import {
1616
object,
1717
ObjectContext,
1818
RestatePromise,
19-
RetryableError,
2019
rpc,
21-
SendOpts,
2220
service,
2321
TerminalError,
2422
} from "@restatedev/restate-sdk";
@@ -28,7 +26,6 @@ import {
2826
type CreateWorkflowRunRequest,
2927
type GetWorkflowRunParams,
3028
type ListWorkflowRunsParams,
31-
type PaginatedResponse,
3229
type PauseWorkflowRunParams,
3330
type ResumeWorkflowRunParams,
3431
type UpdateWorkflowRunRequest,
@@ -45,8 +42,6 @@ import {
4542
type ListEventsParams,
4643
ListWorkflowRunStepsParams,
4744
ListEventsByCorrelationIdParams,
48-
ValidQueueName,
49-
QueuePayload,
5045
WorkflowRunSchema,
5146
StepSchema,
5247
EventSchema,
@@ -480,9 +475,9 @@ export const hooksApi = object({
480475
hookId,
481476
token: data.token,
482477
metadata: data.metadata,
483-
ownerId: "embedded-owner",
484-
projectId: "embedded-project",
485-
environment: "embedded",
478+
ownerId: "restate-owner",
479+
projectId: "restate-project",
480+
environment: "restate",
486481
createdAt: now,
487482
};
488483

packages/libs/world/src/auth.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ import type { AuthProvider } from "@workflow/world";
33
export const auth: AuthProvider = {
44
async getAuthInfo() {
55
return {
6-
ownerId: "embedded-owner",
7-
projectId: "embedded-project",
8-
environment: "embedded",
9-
userId: "embedded-user",
6+
ownerId: "restate-owner",
7+
projectId: "restate-project",
8+
environment: "restate",
9+
userId: "restate-user",
1010
};
1111
},
1212

1313
async checkHealth() {
1414
return {
1515
success: true,
1616
data: { healthy: true },
17-
message: "Embedded backend is healthy",
17+
message: "backend is healthy",
1818
};
1919
},
2020
};

0 commit comments

Comments
 (0)