Skip to content

Commit

Permalink
fix: update crud functions to receive an array of objects as the resp…
Browse files Browse the repository at this point in the history
…onse
  • Loading branch information
frankpagan committed Oct 26, 2022
1 parent 1bb5db6 commit c6792e3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import observer from '@cocreate/observer';
import crud from '@cocreate/crud-client';
import CRUD from '@cocreate/crud-client';
import elements from '@cocreate/elements';

let crud
if(CRUD && CRUD.default)
crud = CRUD.default
else
crud = CRUD

var CoCreateCalculation = {

init: function() {
Expand Down

0 comments on commit c6792e3

Please sign in to comment.