This was due to a bug in discourse-push-notifications and has been fixed in
discourse-push-notifications
https://github.com/discourse/discourse-push-notifications/commit/8e217c492dabfd578c69ef5ef491ee9887c5ec12
Thanks for reporting @steveb