apps/meteor/app/webdav/server/methods/getWebdavFilePreview.ts
Function getWebdavFilePreview
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async getWebdavFilePreview(accountId, path) {
const userId = Meteor.userId();
if (!userId) {
throw new Meteor.Error('error-invalid-user', 'Invalid User', {