mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-24 15:00:25 +02:00
added ImportPopup
This commit is contained in:
1 parent
93ab5fbea2
commit
4e58e7ad6a
11 files changed
+118
-660
No files matched your search
+2
-1
@@ -169,6 +169,7 @@ func (api *collectionApi) delete(c echo.Context) error {
|
||||
return handlerErr
|
||||
}
|
||||
|
||||
// @todo add event
|
||||
func (api *collectionApi) bulkImport(c echo.Context) error {
|
||||
form := forms.NewCollectionsImport(api.app)
|
||||
|
||||
@@ -182,5 +183,5 @@ func (api *collectionApi) bulkImport(c echo.Context) error {
|
||||
return rest.NewBadRequestError("Failed to import the submitted collections.", submitErr)
|
||||
}
|
||||
|
||||
return nil
|
||||
return c.NoContent(http.StatusNoContent)
|
||||
}
|
||||
Reference in new issue
Block a user