Skip to content

Commit

Permalink
Add MJD to the notification record in the DB
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Nov 7, 2024
1 parent 815ec4c commit 163ec02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gort/overwatcher/helpers/notifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import httpx

from sdsstools import Configuration
from sdsstools import Configuration, get_sjd
from sdsstools.utils import GatheringTaskGroup

from gort.core import LogNamespace
Expand Down Expand Up @@ -189,6 +189,7 @@ async def notify(
[
{
"date": datetime.datetime.now(tz=datetime.UTC),
"mjd": get_sjd("LCO"),
"level": level,
"message": message,
"payload": json.dumps(payload),
Expand Down

0 comments on commit 163ec02

Please sign in to comment.