diff options
| -rw-r--r-- | .vs/slnx.sqlite | bin | 167936 -> 167936 bytes | |||
| -rw-r--r-- | src/app/components/post/post.component.ts | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite Binary files differindex 8f7e0c6..8b6d17b 100644 --- a/.vs/slnx.sqlite +++ b/.vs/slnx.sqlite diff --git a/src/app/components/post/post.component.ts b/src/app/components/post/post.component.ts index 572ad9c..89620d7 100644 --- a/src/app/components/post/post.component.ts +++ b/src/app/components/post/post.component.ts @@ -115,7 +115,7 @@ export class PostComponent implements OnInit { } private deleteRating(ratingId: string, isLike: boolean): void { - this._ratingServe.deleteRatingFromSessionStorageRequest(Guid.parse(this.paramId)).subscribe( + this._ratingServe.deleteRatingFromSessionStorageRequest(Guid.parse(ratingId)).subscribe( () => { this.votesNumber += 1 - Number(isLike) * 2; } |
