Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open
Commits
7ac9c750
Commit
7ac9c750
authored
Jan 31, 2019
by
David Haynes
🙆
Browse files
HOTFIX: Off by 1 error
- New alerts would fail prior to this
parent
be8d80f4
Pipeline
#3783
passed with stage
in 1 minute and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
whats-open/api/models.py
View file @
7ac9c750
...
...
@@ -443,4 +443,4 @@ class Alert(TimeStampedModel):
"""
String representation of an Alert object.
"""
return
"{0}
\n
{1}
\n
{
3
}"
.
format
(
self
.
subject
,
self
.
body
,
self
.
url
)
return
"{0}
\n
{1}
\n
{
2
}"
.
format
(
self
.
subject
,
self
.
body
,
self
.
url
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment