Skip to content
Snippets Groups Projects
Unverified Commit f8970e7a authored by Diego Sampaio's avatar Diego Sampaio Committed by GitHub
Browse files

regression: push gateway response (#28899)

parent ba0e91b6
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ class PushClass {
}
const result = await fetch(`${gateway}/push/${service}/send`, { ...data, method: 'POST' });
const response = await result.json();
const response = await result.text();
if (result.status === 406) {
logger.info('removing push token', token);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment