Skip to content

Commit

Permalink
fix: multiple
Browse files Browse the repository at this point in the history
  • Loading branch information
Achaak committed Jun 27, 2023
1 parent 92de6ae commit 0e92897
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/node_modules
/store
/store/data.json
/dist

# debug
Expand Down
2 changes: 1 addition & 1 deletion src/lib/dataManager/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class DataManager {
.then((res) => {
// Get data
const data = res.body;
console.log('getFavorite 2', res)
console.log('getFavorite 2', data)
if (res.statusCode === 200) {
this.favorite = data.items;

Expand Down
1 change: 0 additions & 1 deletion src/services/API/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export const api = gotScraping.extend({
"Accept-Encoding": "gzip",
},
responseType: "json",
resolveBodyOnly: true,
// @ts-ignore
headerGeneratorOptions: {
browsers: [
Expand Down
1 change: 1 addition & 0 deletions src/services/API/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { env } from './../../env/server.js';

export const authByEmail = () =>
api.post<{
state: string;
polling_id: string;
}>("auth/v3/authByEmail", {
json: {
Expand Down
Empty file added store/.gitkeep
Empty file.

0 comments on commit 0e92897

Please sign in to comment.