Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project
Project
Details
Activity
Releases
Dependency List
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
159
Issues
159
List
Boards
Labels
Service Desk
Milestones
Merge Requests
41
Merge Requests
41
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Commits
0c2f40a2
Commit
0c2f40a2
authored
3 hours ago
by
Mark Harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix): avoid duplicates of notifications with timeuuid
parent
c20c0859
master
No related merge requests found
Pipeline
#67444892
passed with stages
in 6 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CassandraRepository.php
Core/Notification/CassandraRepository.php
+1
-1
No files found.
Core/Notification/CassandraRepository.php
View file @
0c2f40a2
...
...
@@ -122,7 +122,7 @@ class CassandraRepository
public
function
add
(
$notification
)
{
if
(
!
$notification
->
getUuid
())
{
$notification
->
setUuid
((
new
Timeuuid
(
$notification
->
getUuid
()
??
time
()
*
1000
))
->
uuid
());
$notification
->
setUuid
((
new
Timeuuid
(
$notification
->
getUuid
()
??
null
))
->
uuid
());
}
$statement
=
'INSERT INTO notifications (
...
...
This diff is collapsed.
Click to expand it.
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