enzostvs HF staff commited on
Commit
558dd4f
·
1 Parent(s): 01a776a

return if is public

Browse files
Files changed (1) hide show
  1. src/routes/api/models/+server.ts +1 -0
src/routes/api/models/+server.ts CHANGED
@@ -64,6 +64,7 @@ export async function GET(request : RequestEvent) {
64
  downloads: true,
65
  likes7d: true,
66
  image: true,
 
67
  gallery: {
68
  select: {
69
  id: true,
 
64
  downloads: true,
65
  likes7d: true,
66
  image: true,
67
+ isPublic: true,
68
  gallery: {
69
  select: {
70
  id: true,