Skip to content

Commit

Permalink
🐛 fix: 웹소켓 API 롤백
Browse files Browse the repository at this point in the history
  • Loading branch information
kms0219kms committed Jan 3, 2024
1 parent 636ac6a commit 09d81b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/dashboard/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -480,13 +480,13 @@ export default {
socket.emit('push:load', {
guild: this.$route.query.id,
Authorization: "Bearer " + localStorage.getItem('access_token'),
access_token: localStorage.getItem('access_token'),
})
this.alerts.interval = setInterval(() => {
socket.emit('push:check', {
guild: this.$route.query.id,
Authorization: "Bearer " + localStorage.getItem('access_token'),
access_token: localStorage.getItem('access_token'),
already: this.alerts.contents.map(alert => alert.id),
})
}, 5000)
Expand Down

0 comments on commit 09d81b8

Please sign in to comment.