fix(Request): convert resourceType to all small-caps (#990)

This patch moves resourceType to be all small-caps. This aligns
with our convention that all string constants should be smallcaps.

BREAKING CHANGE: this patch changes the constants of the
request.resourceType to be all small-caps.
This commit is contained in:
Andrey Lushnikov
2017-10-10 10:53:37 -07:00
committed by GitHub
parent 7e28dbafb5
commit c3fb367148
4 changed files with 7 additions and 7 deletions

View File

@@ -271,7 +271,7 @@ class Request {
});
this.url = url;
this.resourceType = resourceType;
this.resourceType = resourceType.toLowerCase();
this.method = payload.method;
this.postData = payload.postData;
this.headers = {};