Skip to content

Commit bdf27b1

Browse files
committed
logging...5
1 parent 283e0fc commit bdf27b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "tweespaces",
33
"description": "Lookup Twitter spaces by keyword",
4-
"version": "0.0.28",
4+
"version": "0.0.29",
55
"license": "MIT",
66
"bin": {
77
"tws": "index.js"
@@ -46,4 +46,4 @@
4646
"devDependencies": {
4747
"prettier": "^2.3.2"
4848
}
49-
}
49+
}

utils/find-space-by-host.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const emoji = require('node-emoji');
55
const axios = require('axios');
66

77
module.exports = async ({ username }) => {
8-
98
const userResponse = await axios.post(
109
`https://tweespaces-serverless-function.vercel.app/api/space-by-user`,
1110
{
@@ -21,6 +20,7 @@ module.exports = async ({ username }) => {
2120
// console.log(userResponse.data)
2221

2322
const data = userResponse.data.spaces.data;
23+
console.log({ data })
2424
const meta = userResponse.data.spaces.meta;
2525
const includes = userResponse.data.spaces.includes;
2626

0 commit comments

Comments
 (0)