feat(share pop-up): Post-Request-Prozess hinzugefügt.
This commit is contained in:
@@ -14,7 +14,7 @@ class API {
|
||||
}
|
||||
|
||||
static get SHARE_URL() {
|
||||
return `/readonly`
|
||||
return `/api/readonly`
|
||||
}
|
||||
|
||||
static __XSRF_TOKEN
|
||||
@@ -56,4 +56,4 @@ const redirect = (url) => window.location.href = url;
|
||||
|
||||
const redirRejected = () => redirect(API.REJECT_REDIR_URL);
|
||||
|
||||
const shareEnvelope = (receiverMail, dateValid) => createPost(API.SHARE_URL, { receiverMail: receiverMail, dateValid: dateValid });
|
||||
const shareEnvelope = (receiverMail, dateValid) => createPost(API.SHARE_URL, { receiverMail: receiverMail, dateValid: dateValid }, Content.JSON);
|
||||
Reference in New Issue
Block a user