Reference error in client.folders.copy
kksharma1618 opened this issue · comments
kksharma1618 commented
Error:
ReferenceError: REQUIRED_VALUES is not defined
At this line: https://github.com/allenmichael/box-javascript-sdk/blob/809b03e9af2ac585c3144d09e028ef92a423a75c/src/managers/folders.js#L123
Replacing it by:
this._getFolder(options, [MODEL_VALUES.PARENT, MODEL_VALUES.ID, MODEL_VALUES.NAME], skipValidation, ignoreModelValues);
works.
Allen-Michael Grobelny commented
@kksharma1618 This is resolved with the new build. Sorry about the wait!