correct name of SkLatestNote

This commit is contained in:
Hazel K 2024-10-08 16:37:44 -04:00 committed by Hazelnoot
parent b15f25758a
commit fea993f6b2
7 changed files with 16 additions and 16 deletions

View file

@ -13,7 +13,7 @@ import { MiNote } from '@/models/Note.js';
* DMs are not counted.
*/
@Entity('latest_note')
export class LatestNote {
export class SkLatestNote {
@PrimaryColumn({
name: 'user_id',
type: 'varchar' as const,
@ -44,7 +44,7 @@ export class LatestNote {
})
public note: MiNote | null;
constructor(data?: Partial<LatestNote>) {
constructor(data?: Partial<SkLatestNote>) {
if (!data) return;
for (const [k, v] of Object.entries(data)) {