Skip to content

Commit e5693a0

Browse files
committed
chore: wip
1 parent 1faa8e1 commit e5693a0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

storage/framework/orm/routes.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ await route.get('users', 'Actions/UserIndexOrmAction').middleware(['Api'])
2525

2626
await route.patch('users/{id}', 'Actions/UserUpdateOrmAction').middleware(['Api'])
2727

28-
await route.post('users', 'Actions/UserStoreOrmAction').middleware(['Auth'])
28+
await route.post('users', 'Actions/UserStoreOrmAction').middleware(['Api'])
2929

3030
await route.delete('users/{id}', 'Actions/UserDestroyOrmAction').middleware(['Api'])
3131

3232
await route.get('users/{id}', 'Actions/UserShowOrmAction').middleware(['Api'])
33+

storage/framework/types/requests.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,4 +222,4 @@ export interface PostRequestType extends Request {
222222
deleted_at?: string
223223
}
224224

225-
export type ModelRequest = ProjectRequestType | SubscriberEmailRequestType | AccessTokenRequestType | TeamRequestType | SubscriberRequestType | DeploymentRequestType | ReleaseRequestType | UserRequestType | PostRequestType
225+
export type ModelRequest = ProjectRequestType | SubscriberEmailRequestType | AccessTokenRequestType | TeamRequestType | SubscriberRequestType | DeploymentRequestType | ReleaseRequestType | UserRequestType | PostRequestType

0 commit comments

Comments
 (0)