Skip to content

Commit 812d1d7

Browse files
committed
chore: fix build badge
1 parent d389ba9 commit 812d1d7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<p align="center">
66
<a href="https://www.npmjs.com/package/@tailflow/laravel-orion"><img src="https://img.shields.io/npm/v/@tailflow/laravel-orion" alt="Latest Version on NPM"></a>
7-
<a href="https://github.com/tailflow/laravel-orion-ts/actions"><img src="https://img.shields.io/github/actions/workflow/status/tailflow/laravel-orion-ts/ci.yml?branch=main" alt="Build Status"></a>
7+
<a href="https://github.com/tailflow/laravel-orion-ts/actions"><img src="https://img.shields.io/github/actions/workflow/status/tailflow/laravel-orion-ts/default.yml?branch=main" alt="Build Status"></a>
88
</p>
99

1010
## Introduction

tests/integration/drivers/default/server.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -145,16 +145,16 @@ export default function makeServer() {
145145

146146
this.patch('/api/posts/batch', (schema: any, request) => {
147147
const body: {
148-
resources: object
148+
resources: Record<string, unknown>
149149
} = JSON.parse(request.requestBody);
150150

151151
const rval: any[] = [];
152152
for (const key in body.resources) {
153153
const attrs = body.resources[key];
154-
154+
155155
const post = schema.posts.find(key);
156156

157-
157+
158158
rval.push(post.update(attrs));
159159
}
160160

0 commit comments

Comments
 (0)