test: make better stack first when creating a connection

This commit is contained in:
Rıdvan Akca
2023-12-11 13:58:27 +03:00
parent e5c4e18fd5
commit 8a8be21d56
7 changed files with 17 additions and 22 deletions

View File

@@ -0,0 +1,10 @@
const verifyCredentials = async ($) => {
await $.http.get('/v2/metadata');
await $.auth.set({
screenName: $.auth.data.screenName,
apiKey: $.auth.data.apiKey,
});
};
export default verifyCredentials;