✏️ Fix: [#41] 알림 출력값에 created_at 추가

This commit is contained in:
sm4640
2025-05-02 22:35:41 +09:00
parent 430553f870
commit 3ba1f4dcf2

View File

@@ -7,7 +7,7 @@ class NotificationSerializer(serializers.ModelSerializer):
class Meta: class Meta:
model = Notification model = Notification
fields = ['id', 'content', 'note_type', 'is_read', 'meta'] fields = ['id', 'content', 'note_type', 'is_read', 'created_at', 'meta']
def get_meta(self, obj): def get_meta(self, obj):