Changes all documents to have an explicit type
This commit is contained in:
@@ -26,10 +26,9 @@ export const NewSceneForm = ({
|
||||
try {
|
||||
const sceneDoc: Scene = await pb.collection("documents").create({
|
||||
campaign,
|
||||
type: "scene",
|
||||
data: {
|
||||
scene: {
|
||||
text,
|
||||
},
|
||||
text,
|
||||
},
|
||||
});
|
||||
setText("");
|
||||
|
||||
Reference in New Issue
Block a user