Ayato
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Ayato on 6/14/2023 in #questions
YouTube Data API
Ohh yea, that worked, thank you very much,
do you know why the above method works for some but not for all?
7 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/17/2023 in #questions
tRPC Mutation
Ahh, thanks
7 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/15/2023 in #questions
<Select onChange()>
Thanks
4 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/5/2023 in #questions
findUnique from current user
I will take a look
11 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/4/2023 in #questions
getById from current user
---------------------- CLOSE ----------------------
https://discord.com/channels/966627436387266600/1093273688557768924/1093273688557768924
41 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/5/2023 in #questions
findUnique from current user
yes, but if another user gets the id he could delete it.
Is that securety wise ok?
11 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/5/2023 in #questions
findUnique from current user
I think
findFirst
sounds fine, but it is getting worse, when we get to update or delete, because I would have to use deleteMany
to put in multiple filter.
11 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/4/2023 in #questions
getById from current user
yes ofc, but it feels a but sloppy,
just because I know the id of a privat massage of yours I don't think I could request it.
41 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/4/2023 in #questions
getById from current user
I think I will just go with this, if you have any better ideas please tell me:
41 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/4/2023 in #questions
getById from current user
OK, I checked it and it do is like I thaght:
server:
client:
I'm logged in as user 1 but the deposit.id is of a deposit from another user.
41 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/4/2023 in #questions
getById from current user
alright, thanks for your help @Diogovski
41 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/4/2023 in #questions
getById from current user
Yea, but theoretical if you have the ID you can get the deposit from a another user right?
41 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/4/2023 in #questions
getById from current user
it is not giving me an error
41 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/4/2023 in #questions
getById from current user
do you think this would do?
41 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/4/2023 in #questions
getById from current user
ohh, but this btw. is also not working:
maybe because it is not nnique
41 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/4/2023 in #questions
getById from current user
41 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/4/2023 in #questions
getById from current user
41 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/4/2023 in #questions
getById from current user
but as I said,
getAll
works fine41 replies
TTCTheo's Typesafe Cult
•Created by Ayato on 4/4/2023 in #questions
getById from current user
41 replies