Skip to content

Commit db88f70

Browse files
committed
fix name collision
1 parent ed07dee commit db88f70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/eduid/common/rpc/lookup_mobile_relay.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ def __init__(self, config: CeleryConfigMixin) -> None:
2121

2222
def find_nin_by_mobile(self, mobile_number: str) -> str | None:
2323
try:
24-
result = self._find_nin_by_mobile.delay(mobile_number)
24+
rtask = self._find_nin_by_mobile.delay(mobile_number)
2525
result = cast(
26-
str | None, result.get(timeout=10)
26+
str | None, rtask.get(timeout=10)
2727
) # Lower timeout than standard gunicorn worker timeout (25)
2828
return result
2929
except Exception as e:

0 commit comments

Comments
 (0)