(className, fields, config, auth, info)
| 1 | import rest from '../../rest'; |
| 2 | |
| 3 | const createObject = async (className, fields, config, auth, info) => { |
| 4 | if (!fields) { |
| 5 | fields = {}; |
| 6 | } |
| 7 | |
| 8 | return (await rest.create(config, auth, className, fields, info.clientSDK, info.context)) |
| 9 | .response; |
| 10 | }; |
| 11 | |
| 12 | const updateObject = async (className, objectId, fields, config, auth, info) => { |
| 13 | if (!fields) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…