JS API: Expose invalidateReposCache method

Bug: Issue 10324
Change-Id: If17e354b06b0ec094795d1b1f6330d703e808939
This commit is contained in:
David Ostrovsky
2019-01-18 00:26:47 +01:00
parent ff448d35ff
commit e9ef7086c5

View File

@@ -38,6 +38,10 @@
return getRestApi().getVersion();
};
GrPluginRestApi.prototype.invalidateReposCache = function() {
getRestApi().invalidateReposCache();
};
/**
* Fetch and return native browser REST API Response.
* @param {string} method HTTP Method (GET, POST, etc)