mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 15:52:55 +01:00
feat: start of avatars
This commit is contained in:
1 parent
455679a981
commit
ea412086d4
7 files changed
+72
-15
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { api } from "../../../core/api/dynamic";
|
||||
|
||||
export async function GET() {
|
||||
const { avatars } = await api.avatars();
|
||||
const avatars = await api.avatars();
|
||||
return Response.json(avatars);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import { api } from "../../../core/api/dynamic";
|
||||
import { Avatars } from "../../../protos/avatars";
|
||||
|
||||
export async function GET() {
|
||||
const avatars = await api.avatars();
|
||||
return new Response(Avatars.encode(avatars).finish());
|
||||
}
|
||||
Reference in new issue
Block a user