We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caaee18 commit 8298536Copy full SHA for 8298536
apps/files/src/services/Templates.js
@@ -36,7 +36,7 @@ export const getTemplates = async function() {
36
* @param {string} templateType The template type e.g 'user'
37
*/
38
export const createFromTemplate = async function(filePath, templatePath, templateType) {
39
- const response = await axios.post(generateOcsUrl('apps/files/api/v1/templates/create'), {
+ const response = await axios.post(generateOcsUrl('apps/files/api/v1/templates', 2) + 'create', {
40
filePath,
41
templatePath,
42
templateType,
0 commit comments