Closed slmnio closed 1 year ago
The create record function throws an error in create-live-guest because it sends a single object instead of an array
https://github.com/slmnio/slmngg-sfc/blob/4455af884c14581d916ba7dca82428635e696ebc/server/src/actions/create-live-guest.js#L23-L29
https://github.com/slmnio/slmngg-sfc/blob/4455af884c14581d916ba7dca82428635e696ebc/server/src/action-utils.js#L80-L89
The code in the action file looks correct, and the function should be createRecords if it's an array. Will look through the other actions to consolidate the behaviour
The create record function throws an error in create-live-guest because it sends a single object instead of an array
https://github.com/slmnio/slmngg-sfc/blob/4455af884c14581d916ba7dca82428635e696ebc/server/src/actions/create-live-guest.js#L23-L29
https://github.com/slmnio/slmngg-sfc/blob/4455af884c14581d916ba7dca82428635e696ebc/server/src/action-utils.js#L80-L89
The code in the action file looks correct, and the function should be createRecords if it's an array. Will look through the other actions to consolidate the behaviour