This commit is contained in:
@@ -61,7 +61,7 @@ export async function GET(request: Request, context: RouteContext) {
|
||||
|
||||
// Find the user
|
||||
const user = await db.query.users.findFirst({
|
||||
where: eq(users.handle, cleanHandle),
|
||||
where: { handle: cleanHandle },
|
||||
});
|
||||
|
||||
if (!user) {
|
||||
@@ -94,7 +94,7 @@ export async function GET(request: Request, context: RouteContext) {
|
||||
|
||||
// Get remote followers
|
||||
const userRemoteFollowers = await db.query.remoteFollowers.findMany({
|
||||
where: eq(remoteFollowers.userId, user.id),
|
||||
where: { userId: user.id },
|
||||
limit,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user