Store the Push Subscription in the database

This commit is contained in:
Alex Gleason
2024-10-02 22:20:47 -05:00
parent 049d99af9b
commit 4561ec0d00
4 changed files with 56 additions and 20 deletions

View File

@@ -263,7 +263,7 @@ app.get('/api/v1/mutes', requireSigner, mutesController);
app.get('/api/v1/markers', requireProof(), markersController);
app.post('/api/v1/markers', requireProof(), updateMarkersController);
app.post('/api/v1/push/subscription', requireSigner, pushSubscribeController);
app.post('/api/v1/push/subscription', requireProof(), pushSubscribeController);
app.get('/api/v1/pleroma/statuses/:id{[0-9a-f]{64}}/reactions', reactionsController);
app.get('/api/v1/pleroma/statuses/:id{[0-9a-f]{64}}/reactions/:emoji', reactionsController);