Skip to content

Commit a9c044f

Browse files
committed
Fix receivers
1 parent 07bfed7 commit a9c044f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/pkg/repositories/gorm_phone_notification_repository.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func NewGormPhoneNotificationRepository(
3636
}
3737

3838
// UpdateStatus of an entities.PhoneNotification
39-
func (repository gormPhoneNotificationRepository) UpdateStatus(ctx context.Context, notificationID uuid.UUID, status entities.PhoneNotificationStatus) error {
39+
func (repository *gormPhoneNotificationRepository) UpdateStatus(ctx context.Context, notificationID uuid.UUID, status entities.PhoneNotificationStatus) error {
4040
ctx, span := repository.tracer.Start(ctx)
4141
defer span.End()
4242

@@ -54,7 +54,7 @@ func (repository gormPhoneNotificationRepository) UpdateStatus(ctx context.Conte
5454
}
5555

5656
// Schedule a notification to be sent in the future
57-
func (repository gormPhoneNotificationRepository) Schedule(ctx context.Context, messagesPerMinute uint, notification *entities.PhoneNotification) error {
57+
func (repository *gormPhoneNotificationRepository) Schedule(ctx context.Context, messagesPerMinute uint, notification *entities.PhoneNotification) error {
5858
ctx, span := repository.tracer.Start(ctx)
5959
defer span.End()
6060

0 commit comments

Comments
 (0)