allows public acces to public profiles
This commit is contained in:
@@ -44,7 +44,7 @@ export async function follows_a_b(a: string, b: string, f: (url: RequestInfo | U
|
||||
|
||||
const response: ListResult<Follow> = await r.json();
|
||||
|
||||
return response.items.at(0);
|
||||
return response.items.at(0) ?? null;
|
||||
}
|
||||
|
||||
export async function follows_create(followee: string) {
|
||||
|
||||
@@ -3,7 +3,6 @@ import { env } from "$env/dynamic/public";
|
||||
const privateRoutes = [
|
||||
"/settings",
|
||||
"/trail/edit/new",
|
||||
"/profile",
|
||||
"/lists/edit/new",
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user