Skip to content

Commit cf17024

Browse files
committed
refactor: remove unused response variable in createUser function
1 parent ade0a1b commit cf17024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/git-proxy-cli/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ async function createUser(username, password, email, gitAccount, admin = false)
351351
try {
352352
const cookies = JSON.parse(fs.readFileSync(GIT_PROXY_COOKIE_FILE, 'utf8'));
353353

354-
const response = await axios.post(
354+
await axios.post(
355355
`${baseUrl}/api/auth/create-user`,
356356
{
357357
username,

0 commit comments

Comments
 (0)