mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
🐛 Fix project and file creation on empty user.
This commit is contained in:
parent
d578a7c96a
commit
43d60e238a
2 changed files with 4 additions and 2 deletions
|
@ -92,8 +92,10 @@
|
|||
(let [id (uuid/next)
|
||||
name "Page 1"
|
||||
data (blob/encode
|
||||
{:shapes []
|
||||
{:version 1
|
||||
:shapes []
|
||||
:canvas []
|
||||
:options {}
|
||||
:shapes-by-id {}})
|
||||
sql "insert into project_pages (id, user_id, file_id, name, version,
|
||||
ordering, data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue