Skip to content

Commit

Permalink
refresh doesn't need to be async anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
evert committed Nov 4, 2019
1 parent 6e3b845 commit 69ef93b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export default class Resource<TResource = any, TPatch = Partial<TResource>> {
* This function will return the a parsed JSON object, like the get
* function does.
*/
async refresh(): Promise<TResource> {
refresh(): Promise<TResource> {

if (this.inFlightRefresh) {
return this.inFlightRefresh;
Expand Down

0 comments on commit 69ef93b

Please sign in to comment.