Skip to content

Commit ccc8860

Browse files
committed
fix: user service schema
1 parent 7a82d00 commit ccc8860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/User/service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class UserService {
106106
) {
107107
const data = await this.findById(id)
108108

109-
const value = useValidation(schema.update, {
109+
const value = useValidation(schema.create, {
110110
...data.toJSON(),
111111
...formData,
112112
})

0 commit comments

Comments
 (0)