Skip to content

Commit b08f7b5

Browse files
committed
edited the signature docstring
1 parent af4fefc commit b08f7b5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

thepeer/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ def __init__(self, secret):
1818

1919
def validate_signature(self, data, signature):
2020
"""helper method to validate the signature of the data received
21-
from thepeer's servers
21+
from thepeer's servers, it's usually used for validating webhook events
22+
coming from thepeer's servers
2223
Args:
2324
data (dict|Any): the payload to which the signature is applied
2425
signature (string): the signature to be validated

0 commit comments

Comments
 (0)