fix: Update exception message

This commit is contained in:
Suraj Shetty 2022-06-01 19:53:57 +05:30
parent 121fb49fb5
commit a4d7cfdd24

View file

@ -268,10 +268,10 @@ class InvalidRemoteException(Exception):
class LinkExpired(ValidationError):
http_status_code = 410
title = "Link Expired"
message = "The link has been expired"
message = "The link has expired"
class InvalidKeyError(ValidationError):
http_status_code = 401
title = "Invalid Key"
message = "The key you are using is invalid"
message = "The document key is invalid"