Skip to content

Commit

Permalink
Merge pull request #200 from gunjandatta/gdatta
Browse files Browse the repository at this point in the history
Bug Fixes From Refactoring - Collection Methods Not in Results
  • Loading branch information
gunjandatta authored Jan 20, 2019
2 parents cae3194 + 42d5ecd commit b6661ec
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build/rest.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var Mapper = require("./mapper");
* SharePoint REST Library
*/
exports.$REST = {
__ver: 4.46,
__ver: 4.48,
AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); },
ContextInfo: Lib.ContextInfo,
DefaultRequestToHostFl: false,
Expand Down
2 changes: 1 addition & 1 deletion build/utils/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ exports.Helper = {
// Update the metadata
exports.Helper.updateMetadata(obj, result);
// Add the methods
_1.Request.addMethods(obj, result, result);
_1.Request.addMethods(result, result);
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions dist/gd-sprest.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/gd-sprest.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gd-sprest",
"version": "4.4.6",
"version": "4.4.8",
"description": "An easy way to develop against the SharePoint REST API.",
"author": "Gunjan Datta <[email protected]> (https://gunjandatta.github.io)",
"license": "<LICENSE>",
Expand Down
2 changes: 1 addition & 1 deletion src/rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { IREST } from "./rest.d";
* SharePoint REST Library
*/
export const $REST: IREST = {
__ver: 4.46,
__ver: 4.48,
AppContext: (siteUrl: string) => { return Lib.Site.getAppContext(siteUrl); },
ContextInfo: Lib.ContextInfo,
DefaultRequestToHostFl: false,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export const Helper: IBaseHelper = {
Helper.updateMetadata(obj, result);

// Add the methods
Request.addMethods(obj, result, result);
Request.addMethods(result, result);
}
}
}
Expand Down

0 comments on commit b6661ec

Please sign in to comment.