fix wrong link in request

This commit is contained in:
Patrick Jentsch 2023-03-24 13:57:47 +01:00
parent 5b6eae7645
commit 9e58578761
2 changed files with 3 additions and 1 deletions

View File

@ -23,7 +23,7 @@ Requests.corpora.entity.build = (corpusId) => {
};
Requests.corpora.entity.generateShareLink = (corpusId, role, expiration) => {
let input = `/corpora/${corpusId}/generate-corpus-share-link`;
let input = `/corpora/${corpusId}/generate-share-link`;
let init = {
method: 'POST',
body: JSON.stringify({role: role, expiration: expiration})

View File

@ -147,6 +147,7 @@
<p>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
</p>
<h5>HIER RECHTLICHEN HINWEIS EINFÜGEN</h5>
<div class="row">
<div class="col s10">
<div class="chips no-autoinit" id="invite-user-modal-search"></div>
@ -170,6 +171,7 @@
You can set different roles via the link, you can also edit them later in the menu below.
It is recommended not to set the expiration date of the link too far.
</p>
<h5>HIER RECHTLICHEN HINWEIS EINFÜGEN</h5>
<div class="row">
<div class="col s12 l2">
<div class="input-field">