• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-client-gateway / 8630594257

10 Apr 2024 11:38AM UTC coverage: 45.232% (-47.6%) from 92.862%
8630594257

Pull #1369

github

iamacook
Only store signer address in JWT payload
Pull Request #1369: Add `AuthGuard`

293 of 2225 branches covered (13.17%)

Branch coverage included in aggregate %.

4 of 9 new or added lines in 3 files covered. (44.44%)

2495 existing lines in 237 files now uncovered.

3540 of 6249 relevant lines covered (56.65%)

8.62 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/src/routes/subscriptions/subscription.controller.ts
1
import { Controller, Delete, ParseUUIDPipe, Query } from '@nestjs/common';
14✔
2
import { ApiExcludeController } from '@nestjs/swagger';
14✔
3
import { SubscriptionService } from '@/routes/subscriptions/subscription.service';
14✔
4

5
@Controller({
6
  path: 'subscriptions',
7
  version: '1',
8
})
9
@ApiExcludeController()
10
export class SubscriptionController {
14✔
UNCOV
11
  constructor(private readonly service: SubscriptionService) {}
×
12

13
  @Delete()
14
  async unsubscribe(
14✔
15
    @Query('category') category: string,
16
    @Query('token', new ParseUUIDPipe()) token: string,
17
  ): Promise<void> {
UNCOV
18
    return this.service.unsubscribe({ notificationTypeKey: category, token });
×
19
  }
20

21
  @Delete('all')
22
  async unsubscribeAll(
14✔
23
    @Query('token', new ParseUUIDPipe()) token: string,
24
  ): Promise<void> {
UNCOV
25
    return this.service.unsubscribeAll({ token });
×
26
  }
27
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc