Changes all documents to have an explicit type
This commit is contained in:
@@ -25,11 +25,10 @@ export const NewMonsterForm = ({
|
||||
try {
|
||||
const monsterDoc: Monster = await pb.collection("documents").create({
|
||||
campaign,
|
||||
type: "monster",
|
||||
data: {
|
||||
monster: {
|
||||
name,
|
||||
description,
|
||||
},
|
||||
name,
|
||||
description,
|
||||
},
|
||||
});
|
||||
setName("");
|
||||
|
||||
Reference in New Issue
Block a user