[services] fix variable name
Summary: updated a helper function to make it more extensible but forgot to change the names of one of the local variables
Test Plan: cargo build
Reviewers: atul, tomek
Reviewed By: atul
Subscribers: ashoat, adrian, karol, abosh
Differential Revision: https://phab.comm.dev/D4682