mirror of
https://github.com/democratic-csi/democratic-csi.git
synced 2026-10-09 10:25:54 +02:00
Fix obsolete API version.
This commit is contained in:
@@ -20,9 +20,10 @@ class SynologyHttpClient {
|
||||
|
||||
async login() {
|
||||
if (!this.sid) {
|
||||
// See https://global.download.synology.com/download/Document/Software/DeveloperGuide/Os/DSM/All/enu/DSM_Login_Web_API_Guide_enu.pdf
|
||||
const data = {
|
||||
api: "SYNO.API.Auth",
|
||||
version: "2",
|
||||
version: "6",
|
||||
method: "login",
|
||||
account: this.options.username,
|
||||
passwd: this.options.password,
|
||||
|
||||
Reference in New Issue
Block a user