Allow pinning/unpinning other users posts

This commit is contained in:
jaina heartles 2024-02-27 14:57:27 -08:00
parent 401376d668
commit 1c50079f7b
2 changed files with 2 additions and 4 deletions

View file

@ -53,7 +53,6 @@ export class NotePiningService {
// Fetch pinee
const note = await this.notesRepository.findOneBy({
id: noteId,
userId: user.id,
});
if (note == null) {
@ -92,7 +91,6 @@ export class NotePiningService {
// Fetch unpinee
const note = await this.notesRepository.findOneBy({
id: noteId,
userId: user.id,
});
if (note == null) {