Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
fix: 🐛 typescript errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ap0nia committed Dec 21, 2023
1 parent 09657ee commit 65945e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/api/src/routes/v1/rest/websoc/+config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const overrides: ApiPropsOverride = {
constructs: {
...constructs,
functionProps: (scope, id) => ({
...constructs.functionProps(scope, id),
...constructs.functionProps?.(scope, id),
role: new Role(scope, `${id}-v1-rest-websoc-role`, {
assumedBy: new ServicePrincipal("lambda.amazonaws.com"),
managedPolicies: [
Expand Down
2 changes: 1 addition & 1 deletion apps/api/src/routes/v1/rest/websoc/{id}/+config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const overrides: ApiPropsOverride = {
constructs: {
...constructs,
functionProps: (scope, id) => ({
...constructs.functionProps(scope, id),
...constructs.functionProps?.(scope, id),
role: new Role(scope, `${id}-v1-rest-websoc-id-role`, {
assumedBy: new ServicePrincipal("lambda.amazonaws.com"),
managedPolicies: [
Expand Down

0 comments on commit 65945e1

Please sign in to comment.