Skip to content

Commit

Permalink
fix(samples): updating both json files. (#540)
Browse files Browse the repository at this point in the history
* fix(samples): updating both json files.

* pr fix: fixed test.

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and Shabirmean committed Nov 15, 2022
1 parent 13ed7a1 commit 351ced5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
public class UpdateUserEventsJson {

public static void main(String[] args) throws IOException {
// TODO(developer): Replace these variables before running the sample.
String filePath = "src/main/resources/user_events.json";

String invalidFilePath = "src/main/resources/user_events_some_invalid.json";
updateEventsTimestamp(filePath);
updateEventsTimestamp(invalidFilePath);
}

public static void updateEventsTimestamp(String jsonFile) throws IOException {
Expand Down

0 comments on commit 351ced5

Please sign in to comment.