Merge pull request #8528 from appwrite/fix-tempaltes-cors

Fix: Templates CORS
This commit is contained in:
Christy Jacob 2024-08-14 00:53:30 +04:00 committed by GitHub
commit c3199210fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2421,6 +2421,7 @@ App::delete('/v1/functions/:functionId/variables/:variableId')
});
App::get('/v1/functions/templates')
->groups(['api'])
->desc('List function templates')
->label('scope', 'public')
->label('sdk.namespace', 'functions')