Skip to content

Commit 8372d08

Browse files
remove username password from login api call
1 parent 7cd19c5 commit 8372d08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/auth.service.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import axios from 'axios';
33
// eslint-disable-next-line max-len
44
const API_URL = `${process.env.GATSBY_WORKSHOPCHALLENGE_API_ENDPOINT}/api/login`;
55
const data = {
6-
username: process.env.GATSBY_USERNAME,
7-
password: process.env.GATSBY_PASSWORD,
6+
username: '',
7+
password: '',
88
};
99
const options = {
1010
headers: {

0 commit comments

Comments
 (0)