mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2025-09-13 23:43:31 -06:00
async resumeSession
This commit is contained in:
@@ -3,7 +3,7 @@ import { BskyClient } from "~lib/bskyClient";
|
||||
|
||||
const handler: PlasmoMessaging.MessageHandler = async (req, res) => {
|
||||
const { session, subjectDid } = req.body;
|
||||
const client = BskyClient.createAgentFromSession(session);
|
||||
const client = await BskyClient.createAgentFromSession(session);
|
||||
|
||||
try {
|
||||
res.send({
|
||||
|
@@ -3,7 +3,7 @@ import { BskyClient } from "~lib/bskyClient";
|
||||
|
||||
const handler: PlasmoMessaging.MessageHandler = async (req, res) => {
|
||||
const { session, subjectDid } = req.body;
|
||||
const client = BskyClient.createAgentFromSession(session);
|
||||
const client = await BskyClient.createAgentFromSession(session);
|
||||
|
||||
try {
|
||||
res.send({
|
||||
|
@@ -3,7 +3,7 @@ import { BskyClient } from "~lib/bskyClient";
|
||||
|
||||
const handler: PlasmoMessaging.MessageHandler = async (req, res) => {
|
||||
const { session, term, limit } = req.body;
|
||||
const client = BskyClient.createAgentFromSession(session);
|
||||
const client = await BskyClient.createAgentFromSession(session);
|
||||
|
||||
try {
|
||||
res.send({
|
||||
|
@@ -3,7 +3,7 @@ import { BskyClient } from "~lib/bskyClient";
|
||||
|
||||
const handler: PlasmoMessaging.MessageHandler = async (req, res) => {
|
||||
const { session, blockUri } = req.body;
|
||||
const client = BskyClient.createAgentFromSession(session);
|
||||
const client = await BskyClient.createAgentFromSession(session);
|
||||
|
||||
try {
|
||||
res.send({
|
||||
|
@@ -3,7 +3,7 @@ import { BskyClient } from "~lib/bskyClient";
|
||||
|
||||
const handler: PlasmoMessaging.MessageHandler = async (req, res) => {
|
||||
const { session, followUri } = req.body;
|
||||
const client = BskyClient.createAgentFromSession(session);
|
||||
const client = await BskyClient.createAgentFromSession(session);
|
||||
|
||||
try {
|
||||
res.send({
|
||||
|
Reference in New Issue
Block a user