fix(files): correctly import WebDAV client in files store

The files store was importing the client, but this is only on current master
on stableX we still need to import the getter function.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2024-06-17 17:55:43 +02:00 committed by backportbot[bot]
parent a371262bba
commit 057d81c8d7

View file

@ -30,7 +30,8 @@ import { subscribe } from '@nextcloud/event-bus'
import logger from '../logger'
import Vue from 'vue'
import { client } from '../services/WebdavClient.ts'
import { getClient } from '../services/WebdavClient.ts'
const client = getClient()
const fetchNode = async (node: Node): Promise<Node> => {
const propfindPayload = davGetDefaultPropfind()