Skip to content

Commit

Permalink
Fix up merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aapeliv committed May 19, 2024
1 parent 282f1c8 commit a20f1ce
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 21 deletions.
10 changes: 0 additions & 10 deletions app/backend/proto/internal/jobs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,3 @@ message FanNotificationsPayload {
string fan_func = 9;
string fan_func_data = 10;
}

message GenerateCreateEventNotificationsPayload {
int64 occurrence_id = 1;
}

message GenerateUpdateEventNotificationsPayload {
int64 occurrence_id = 1;
int64 updater_user_id = 2;
repeated string updated_fields = 3;
}
3 changes: 0 additions & 3 deletions app/backend/src/couchers/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,3 @@
DATETIME_INFINITY = pytz.UTC.localize(datetime(9876, 12, 31, hour=23, minute=59, second=59))

SERVER_THREADS = 128

# default digest settings
DIGEST_FREQUENCY = timedelta(hours=48)
6 changes: 0 additions & 6 deletions app/backend/src/couchers/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2157,12 +2157,6 @@ def unpack(self):
event__update = ("event", "update", [dt.push, dt.digest], True)
event__invite_organizer = ("event", "invite_organizer", [dt.email, dt.push, dt.digest], True)

# events
event__create = ("event", "create", [dt.push, dt.digest])
event__update = ("event", "update", [dt.push, dt.digest])
event__commented = ("event", "commented", [dt.push, dt.digest])
event__invite_organizer = ("event", "invite_organizer", [dt.email, dt.push, dt.digest])


class NotificationPreference(Base):
__tablename__ = "notification_preferences"
Expand Down
2 changes: 0 additions & 2 deletions app/backend/src/couchers/servicers/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@

logger = logging.getLogger(__name__)

logger = logging.getLogger(__name__)

attendancestate2sql = {
events_pb2.AttendanceState.ATTENDANCE_STATE_NOT_GOING: None,
events_pb2.AttendanceState.ATTENDANCE_STATE_GOING: AttendeeStatus.going,
Expand Down

0 comments on commit a20f1ce

Please sign in to comment.