IsEntitled checks if a user can send or receive and SMS message
(ctx context.Context, userID entities.UserID)
| 76 | |
| 77 | // IsEntitled checks if a user can send or receive and SMS message |
| 78 | func (service *BillingService) IsEntitled(ctx context.Context, userID entities.UserID) *string { |
| 79 | return service.IsEntitledWithCount(ctx, userID, 1) |
| 80 | } |
| 81 | |
| 82 | func (service *BillingService) handleLimitExceeded(ctx context.Context, user *entities.User) *string { |
| 83 | ctx, span := service.tracer.Start(ctx) |
no test coverage detected