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