Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2019-10-31 11:21:01 -0400
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2019-10-31 11:21:01 -0400
commitf0e246deef1e10f382cafcd36eca89620a8f6ace (patch)
tree5275eef1de8a7ff1f8ab2607b99a38b8484fea18 /src
parentd2f9f5f18f027f9436414db85494726da9a5c092 (diff)
downloadliza-f0e246deef1e10f382cafcd36eca89620a8f6ace.tar.gz
liza-f0e246deef1e10f382cafcd36eca89620a8f6ace.tar.bz2
liza-f0e246deef1e10f382cafcd36eca89620a8f6ace.zip
RatingService#postProcessRaterData: Fix accidental indvRate change
I accidentally changed id=>after when prototyping data for the _new_ deferred rating (not yet written). There were no tests for this code, which was originally written in July of 2012 (see private lovullo.git repo), so it was not caught until QA.
Diffstat (limited to 'src')
-rw-r--r--src/server/service/RatingService.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/service/RatingService.ts b/src/server/service/RatingService.ts
index df27f31..b2a5062 100644
--- a/src/server/service/RatingService.ts
+++ b/src/server/service/RatingService.ts
@@ -346,7 +346,7 @@ export class RatingService
meta.deferred.forEach( ( alias: string ) =>
{
- actions.push( { action: 'indvRate', after: alias } );
+ actions.push( { action: 'indvRate', id: alias } );
torate.push( alias );
} );