6 lines
171 B
JavaScript
6 lines
171 B
JavaScript
|
import { restGet, restPost } from './restConsumer.js'
|
||
|
|
||
|
export async function login(user, pass, exp){
|
||
|
restPost("/login", {login: user, password: pass, expiration: exp})
|
||
|
}
|