Files
automatisch/packages/backend/src/apps/changedetection/auth/verify-credentials.js
2024-05-13 16:28:05 +02:00

11 lines
217 B
JavaScript

const verifyCredentials = async ($) => {
await $.http.get('/v1/systeminfo');
await $.auth.set({
screenName: $.auth.data.screenName,
apiKey: $.auth.data.apiKey,
});
};
export default verifyCredentials;