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 b300d5f commit 9ecdf1a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 23 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
4 changes: 2 additions & 2 deletions app/proto/admin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ service Admin {
message UserDetails {
int64 user_id = 1;
string username = 2;
string name = 9;
string name = 14;
string email = 3;
string gender = 4;
string birthdate = 7;
bool banned = 5;
bool deleted = 6;
bool do_not_email = 10;
bool do_not_email = 15;
repeated string badges = 8;

bool has_strong_verification = 9;
Expand Down

0 comments on commit 9ecdf1a

Please sign in to comment.