if "lnaddress" in kwargs was never True since lnaddress is not a part of the schema,
username is though always present
with an empty string when there's no lnaddress bound to the pay link
with username part of the lnaddress with a lnaddress is bind to the pay link
and check_lnaddress_update(username: str, id: str) was thus never triggered
check_lnaddress_update(username: str, id: str) doesn't make sense since id is not changed during the update, and the couple username and id is expected to be always unique.
Addressing issue #7 ,
if "lnaddress" in kwargs
was neverTrue
sincelnaddress
is not a part of the schema,username
is though always presentusername
part of the lnaddress with a lnaddress is bind to the pay linkcheck_lnaddress_update(username: str, id: str)
was thus never triggeredcheck_lnaddress_update(username: str, id: str)
doesn't make sense sinceid
is not changed during the update, and the coupleusername
andid
is expected to be always unique.