pull down to refresh

a random SN idea @ek @k00b
It would be nice if I could share the draft ( it could be for proofreading or chip-in ideas ) before posting it. ๐Ÿ‘€
bug detected: tried to edit bio then it said " item is deleted " ๐Ÿ‘€
reply
0 sats \ 6 replies \ @ek 7 Aug
Mhh, I can edit my own bio. Youโ€™re saying you canโ€™t edit your bio?
reply
evet ๐Ÿ‘€
reply
0 sats \ 4 replies \ @anon 7 Aug
Mmm
reply
@ek Also confirming I cannot edit my bio, maybe because I might have deleted the '@final's bio' post on the feed a long time ago?
reply
0 sats \ 2 replies \ @ek 1 Sep
Canโ€™t check the db right now but yes, you might need a manual update, too.
However, I thought we fixed it for all bios at once using a query like this:
UPDATE "Item" SET "deletedAt" = NULL WHERE "bio"
/cc @k00b
reply
0 sats \ 1 reply \ @k00b 1 Sep
You wrote the migration. It should be editable iirc even if it says deleted
reply
0 sats \ 0 replies \ @ek 2 Sep
Oh, I only fixed that some items weren't marked as bios even though they should, see this PR.
Will add a PR which runs the query above since bios should never be deleted.
It should be editable iirc even if it says deleted
Why should this be the case? It's not because of this line which makes sense imo.
update: PR up
reply
Yes.. I was thinking that too.
reply