package com.syncflow.data.providers.owncloud

import com.syncflow.data.providers.webdav.WebDavProvider
import com.syncflow.domain.model.CloudAccount

class OwnCloudProvider(account: CloudAccount) : WebDavProvider(account) {
    // ownCloud WebDAV endpoint is /remote.php/webdav/ (no username in path)
    override val baseUrl: String
        get() = "${account.serverUrl?.trimEnd('/') ?: ""}/remote.php/webdav"
}
