Dev database
This commit is contained in:
parent
01a9b55b6a
commit
ad9863f2de
10 changed files with 17 additions and 13 deletions
|
|
@ -24,7 +24,7 @@ module.exports = async (req, res) => {
|
|||
const currentTime = dayjs().unix();
|
||||
|
||||
const entity = {
|
||||
key: req.datastore.key(['Event', eventId]),
|
||||
key: req.datastore.key([req.types.event, eventId]),
|
||||
data: {
|
||||
name: name,
|
||||
created: currentTime,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue