fix: creating, updating
This commit is contained in:
@@ -18,6 +18,7 @@ Id:{
|
||||
type: {
|
||||
primitive: "number",
|
||||
},
|
||||
hidden: true,
|
||||
},
|
||||
Text:{
|
||||
type: {
|
||||
|
||||
@@ -8,7 +8,7 @@ export default class PostService implements IService<Post> {
|
||||
}
|
||||
|
||||
async readAll() {
|
||||
return await GetAll()
|
||||
return await GetAll() as Post[]
|
||||
}
|
||||
|
||||
async create(item: Post) {
|
||||
|
||||
Reference in New Issue
Block a user