add backend info to readme,

fix docstring in backends.js
This commit is contained in:
2024-06-26 06:39:43 +00:00
parent 85b8ae8560
commit ab0188a8bc
2 changed files with 36 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ export default async () => {
class BACKEND {
/**
* Opens a session with the backend and creates session tokens if needed
* @param {{id: string, realm: string}} user object containing username and password fields
* @param {{id: string, realm: string}} user object containing id and realm
* @param {string} password
* @returns {{ok: boolean, status: number, message: string, cookies: {name: string, value: string}[]}} response like object with list of session token objects with token name and value
*/