final stage update bugs
This commit is contained in:
@ -2561,7 +2561,7 @@ def update_checkins(request):
|
||||
checkin.buy_flag = update.get('buy_flag', False)
|
||||
checkin.validate_location = update.get('validation', False)
|
||||
checkin.points = update.get('points', 0)
|
||||
checkin.update_at = timezone.now()
|
||||
# checkin.update_at = timezone.now() チェックイン時刻は更新しない
|
||||
checkin.update_user = request.user.email if request.user.is_authenticated else None
|
||||
checkin.save()
|
||||
logger.info(f"Updated existing checkin result: {checkin}")
|
||||
@ -2583,7 +2583,7 @@ def update_checkins(request):
|
||||
validate_location=update.get('validation', False),
|
||||
buy_flag=update.get('buy_flag', False),
|
||||
points=update.get('points', 0),
|
||||
create_at=timezone.now(),
|
||||
# create_at=timezone.now(), チェックイン時刻は更新しない
|
||||
update_at=timezone.now(),
|
||||
create_user=request.user.email if request.user.is_authenticated else None,
|
||||
update_user=request.user.email if request.user.is_authenticated else None
|
||||
|
||||
Reference in New Issue
Block a user