mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2026-05-26 12:32:25 +00:00
Fix calls to fetchChannel
Should fix subscribing to channels
This commit is contained in:
parent
6de9abd499
commit
a2dfeb2edc
3 changed files with 3 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ module.exports = [
|
|||
const token = user.token
|
||||
|
||||
if (add) {
|
||||
await fetchChannel(ucid, settings.instance)
|
||||
await fetchChannel("channel", ucid, settings.instance)
|
||||
db.prepare(
|
||||
"INSERT INTO Subscriptions (token, ucid) VALUES (?, ?)"
|
||||
).run(token, ucid)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue