Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
beynar committed Mar 25, 2024
1 parent f8162ea commit 5162654
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

### 🩹 Fixes

- 🐛 Remove API types from locals in procedure request event. ([fd33fd3](https://github.com/beynar/svelte-rpc/commit/fd33fd3))
- 🐛 Remove API types from locals in procedure request event. ([fd33fd3](https://github.com/beynar/svelte-rpc/commit/fd33fd3))

### 🏡 Chore

Expand Down
3 changes: 1 addition & 2 deletions src/hooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ const router = {
}),
ai: procedure()
.input(z.string())
.handle(async ({ input, event }) => {
event.locals.api.test.test('e');
.handle(async ({ input }) => {
const completion = await openai.chat.completions.create({
model: 'gpt-3.5-turbo',
max_tokens: 4,
Expand Down

0 comments on commit 5162654

Please # to comment.