hunk.code_window:                                 Object expiresInResponse = response.get(Authentication.EXPIRES_IN);
                                   Instant expiresAt = null;
                                   if (expiresAtResponse != null) {
                                       expiresAt = Instant.ofEpochSecond(Long.valueOf((Integer) expiresAtResponse));
                                   } else if (expiresInResponse != null) {
  
hunk.labels: keep keep keep replace keep
hunk.after_edit:                                     expiresAt = Instant.ofEpochSecond(Long.parseLong(String.valueOf(expiresAtResponse)));
  
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AuthenticationServiceCEImpl.java
hunk.type: replace
file: {
  	"responseMeta": {
  		"status": 200,
  		"success": true
  	},
  	"data": {
  		"tables": [
  			{
  				"type": "COLLECTION",
  				"name": "movies",
  				"columns": [
  					{
  						"name": "_id",
  						"type": "ObjectId",
  						"isAutogenerated": true
  					},
  					{
  						"name": "genres",
  						"type": "Array",
  						"isAutogenerated": false
  					},
  					{
  						"name": "homepage",
  						"type": "String",
  						"isAutogenerated": false
  					},
  					{
  						"name": "imdb_id",
  						"type": "String",
  						"isAutogenerated": false
  					},
  					{
  						"name": "poster_path",
  						"type": "String",
  						"isAutogenerated": false
  					},
  					{
  						"name": "release_date",
  						"type": "String",
  						"isAutogenerated": false
  					},
  					{
  						"name": "revenue",
  						"type": "Integer",
  						"isAutogenerated": false
  					},
  					{
  						"name": "status",
  						"type": "String",
  						"isAutogenerated": false
  					},
  					{
  						"name": "tagline",
  						"type": "String",
  						"isAutogenerated": false
  					},
  					{
  						"name": "title",
  						"type": "String",
  						"isAutogenerated": false
  					},
  					{
  						"name": "vote_average",
  						"type": "Double",
  						"isAutogenerated": false
  					},
  					{
  						"name": "vote_count",
  						"type": "Integer",
  						"isAutogenerated": false
  					}
  				],
  				"keys": [
  
  				],
  				"templates": [
  					{
  						"title": "Find",
  						"body": "{\n  \"find\": \"movies\",\n  \"filter\": {\n    \"homepage\": \"https://movies.disney.com/cruella\"\n  },\n  \"sort\": {\n    \"_id\": 1\n  },\n  \"limit\": 10\n}\n",
  						"configuration": {
  							"find": {
  								"query": "{ \"homepage\": \"https://movies.disney.com/cruella\"}",
  								"limit": "10",
  								"sort": "{\"_id\": 1}"
  							},
  							"collection": "movies",
  							"command": "FIND",
  							"smartSubstitution": true
  						}
  					},
  					{
  						"title": "Find by ID",
  						"body": "{\n  \"find\": \"movies\",\n  \"filter\": {\n    \"_id\": ObjectId(\"id_to_query_with\")\n  }\n}\n",
  						"configuration": {
  							"find": {
  								"query": "{\"_id\": ObjectId(\"id_to_query_with\")}"
  							},
  							"collection": "movies",
  							"command": "FIND",
  							"smartSubstitution": true
  						}
  					},
  					{
  						"title": "Insert",
  						"body": "{\n  \"insert\": \"movies\",\n  \"documents\": [\n    {\n      \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n      \"genres\": [1, 2, 3],\n      \"homepage\": \"new value\",\n      \"imdb_id\": \"new value\",\n      \"poster_path\": \"new value\",\n      \"release_date\": \"new value\",\n      \"revenue\": 1,\n      \"status\": \"new value\",\n      \"tagline\": \"new value\",\n      \"title\": \"new value\",\n      \"vote_average\": 1,\n      \"vote_count\": 1,\n    }\n  ]\n}\n",
  						"configuration": {
  							"insert": {
  								"documents": "[{      \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n      \"genres\": [1, 2, 3],\n      \"homepage\": \"new value\",\n      \"imdb_id\": \"new value\",\n      \"poster_path\": \"new value\",\n      \"release_date\": \"new value\",\n      \"revenue\": 1,\n      \"status\": \"new value\",\n      \"tagline\": \"new value\",\n      \"title\": \"new value\",\n      \"vote_average\": 1,\n      \"vote_count\": 1,\n}]"
  							},
  							"collection": "movies",
  							"command": "INSERT",
  							"smartSubstitution": true
  						}
  					},
  					{
  						"title": "Update",
  						"body": "{\n  \"update\": \"movies\",\n  \"updates\": [\n    {\n      \"q\": {\n        \"_id\": ObjectId(\"id_of_document_to_update\")\n      },\n      \"u\": { \"$set\": { \"homepage\": \"new value\" } }\n    }\n  ]\n}\n",
  						"configuration": {
  							"updateMany": {
  								"query": "{ \"_id\": ObjectId(\"id_of_document_to_update\") }",
  								"update": "{ \"$set\": { \"homepage\": \"new value\" } }"
  							},
  							"update": {
  								"limit": "ALL"
  							},
  							"collection": "movies",
  							"command": "UPDATE",
  							"smartSubstitution": true
  						}
  					},
  					{
  						"title": "Delete",
  						"body": "{\n  \"delete\": \"movies\",\n  \"deletes\": [\n    {\n      \"q\": {\n        \"_id\": \"id_of_document_to_delete\"\n      },\n      \"limit\": 1\n    }\n  ]\n}\n",
  						"configuration": {
  							"collection": "movies",
  							"delete": {
  								"query": "{ \"_id\": ObjectId(\"id_of_document_to_delete\") }",
  								"limit": "SINGLE"
  							},
  							"command": "DELETE",
  							"smartSubstitution": true
  						}
  					}
  				]
  			}
  		]
  	}
  }