mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
add read to api
This commit is contained in:
parent
2c9fc11349
commit
f2d0b06881
@ -118,6 +118,8 @@ class NotificationMessageSerializer(SettingsSerializer):
|
|||||||
|
|
||||||
age_human = serializers.CharField()
|
age_human = serializers.CharField()
|
||||||
|
|
||||||
|
read = serializers.BooleanField()
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = NotificationMessage
|
model = NotificationMessage
|
||||||
fields = [
|
fields = [
|
||||||
@ -130,4 +132,5 @@ class NotificationMessageSerializer(SettingsSerializer):
|
|||||||
'creation',
|
'creation',
|
||||||
'age',
|
'age',
|
||||||
'age_human',
|
'age_human',
|
||||||
|
'read',
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user