mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
use getNote instead of Notes.find
If a note is not visible to the requesting user, an error will be raised.
This commit is contained in:
parent
c4b9f702b4
commit
071f893007
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ import { noteVisibilities } from '../../../../types.js';
|
|||
import { ApiError } from '../../error.js';
|
||||
import define from '../../define.js';
|
||||
import { HOUR } from '@/const.js';
|
||||
import { getNote } from '../../common/getters.js';
|
||||
|
||||
export const meta = {
|
||||
tags: ['notes'],
|
||||
|
|
Loading…
Reference in a new issue