Created
May 6, 2018 09:58
-
-
Save angelnikolov/d701ea1b39fded6a5f332db7ca553302 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@CacheBuster({ | |
cacheBusterNotifier: productNotifier | |
}) | |
saveProduct(id: string, name: string, review: string) { | |
return this.http.put(`${environment.api}/products`, { | |
id, | |
name, | |
review | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment