mirror of
https://github.com/penpot/penpot.git
synced 2025-06-25 03:37:00 +02:00
✨ Remove deprecated code and reoganize file related methods
This commit is contained in:
parent
ed87814f50
commit
dc77c6b655
10 changed files with 25 additions and 446 deletions
|
@ -136,10 +136,10 @@
|
|||
(t/is (nil? (:error out))))
|
||||
|
||||
;; query files after profile soft deletion
|
||||
(let [params {::th/type :project-files
|
||||
:project-id (:default-project-id prof)
|
||||
:profile-id (:id prof)}
|
||||
out (th/query! params)]
|
||||
(let [params {::th/type :get-project-files
|
||||
::rpc/profile-id (:id prof)
|
||||
:project-id (:default-project-id prof)}
|
||||
out (th/command! params)]
|
||||
;; (th/print-result! out)
|
||||
(t/is (nil? (:error out)))
|
||||
(t/is (= 1 (count (:result out)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue