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
141
Issues
141
List
Boards
Labels
Service Desk
Milestones
Merge Requests
45
Merge Requests
45
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
23c93fa4
Commit
23c93fa4
authored
6 hours ago
by
Mark Harding
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix): onchain wire notifications now trigger
parent
066d88d8
master
No related merge requests found
Pipeline
#69691072
passed with stages
in 6 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
WireNotification.php
Core/Queue/Runners/WireNotification.php
+5
-0
No files found.
Core/Queue/Runners/WireNotification.php
View file @
23c93fa4
...
...
@@ -10,6 +10,7 @@ use Minds\Core\Queue;
use
Minds\Core\Queue\Interfaces
;
use
Minds\Core\Util\BigNumber
;
use
Minds\Core\Wire
;
use
Minds\Entities
;
class
WireNotification
implements
Interfaces\QueueRunner
{
...
...
@@ -24,6 +25,10 @@ class WireNotification implements Interfaces\QueueRunner
$wire
=
isset
(
$data
[
'wire'
])
?
unserialize
(
$data
[
'wire'
])
:
null
;
$entity
=
isset
(
$data
[
'entity'
])
?
unserialize
(
$data
[
'entity'
])
:
null
;
if
(
is_numeric
(
$entity
))
{
$entity
=
Entities\Factory
::
build
(
$entity
);
}
if
(
!
$entity
||
!
is_object
(
$entity
))
{
return
;
}
...
...
This diff is collapsed.
Click to expand it.
Mark Harding
@markeharding
mentioned in issue
#532 (closed)
·
5 hours ago
mentioned in issue
#532 (closed)
mentioned in issue #532
Toggle commit list
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