Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiLandiak committed Apr 9, 2024
1 parent 9e033de commit ef66bc3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void createTenantIfNotExists(TenantId tenantId, Long queueStartTs) throws
tenant.setTitle("Tenant");
tenant.setId(tenantId);
tenant.setCreatedTime(Uuids.unixTimestamp(tenantId.getId()));
Tenant savedTenant = tenantService.saveTenant(tenant, false, false);
Tenant savedTenant = tenantService.saveTenant(tenant, null, false);
apiUsageStateService.createDefaultApiUsageState(savedTenant.getId(), null);

requestForAdditionalData(tenantId, tenantId, queueStartTs).get();
Expand All @@ -68,7 +68,7 @@ public ListenableFuture<Void> processTenantMsgFromCloud(TenantUpdateMsg tenantUp

switch (tenantUpdateMsg.getMsgType()) {
case ENTITY_UPDATED_RPC_MESSAGE:
tenantService.saveTenant(tenant, true, false);
tenantService.saveTenant(tenant, null, false);
break;
case UNRECOGNIZED:
return handleUnsupportedMsgType(tenantUpdateMsg.getMsgType());
Expand Down

0 comments on commit ef66bc3

Please sign in to comment.