Hacksore / oghunt

https://oghunt.com
36 stars 14 forks source link

Topics stored in db are malformed #61

Closed JoshHyde9 closed 3 weeks ago

JoshHyde9 commented 4 weeks ago

Some don't have topics: image image

Some only have 1 or 2 topics:
image image

maxdemaio commented 4 weeks ago

Good catch brotherman πŸ‘€

Hacksore commented 4 weeks ago

I think it’s this whole spaghetti https://github.com/Hacksore/oghunt/blob/845435def016cbb4377c1d2748e811006bfd9bfe/src/app/lib/persistence.ts#L69

Last night I got rate limited so I rage quit πŸ˜‚

Hacksore commented 4 weeks ago

@typesafeui you fix this one brother

typesafeui commented 4 weeks ago

the prisma lgtm are you sure the id is unique/present?

typesafeui commented 4 weeks ago

Found the issue the schema is wrong, you didn't merge in the changes I suggested