Reworked the username.
Lint / pre-commit Linting (push) Successful in 53s Details

This commit is contained in:
Philipp Horstenkamp 2023-11-26 19:59:04 +01:00
parent bc56766110
commit 9be17fd1a0
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4
1 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,8 @@ async function postCode() {
api = new ScreepsAPI(login_arguments);
} else {
core.info(`Logging into as usewr ${username}`);
api = new ScreepsAPI(username, password, login_arguments);
api = new ScreepsAPI();
api.auth(username, password, login_arguments);
}
const response = await api.code.set(branch, files_to_push);
core.info(JSON.stringify(response, null, 2));