fix expiration date and frontend requests
All checks were successful
Build and test backend / Build-backend (pull_request) Successful in 2m1s
Build and test backend / Test-backend (pull_request) Successful in 2m1s
Build and test FrontEnd / Build-frontend (pull_request) Successful in 25s

This commit is contained in:
2024-03-09 16:22:38 +01:00
parent 847b1ca419
commit ac88307036
2 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,7 @@
import { restGet, restPost } from './restConsumer.js'
export async function login(user, pass, exp){
return restPost("/login", {identifier: user, password: pass, expiration: exp});
return restPost("/login", {identifier: user, password: pass, expirationDate: exp});
}
export async function register(user, pass, mail){