Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
KambachJannis committed Jan 4, 2022
1 parent c0957c0 commit 80bf5f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
11 changes: 1 addition & 10 deletions api/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,4 @@ def lambda_handler(event, context):
return {
'statusCode': 200,
'body': {"messages": result}
}

test = {
"add": ["Friedrich-Ebert-Strasse", "Kellermannstraße 2 "],
"tgt": "Bentelerstraße 62",
"city": "Münster",
"modes": ["driving", "bicycling", "transit"]
}

print(lambda_handler(test, None))
}
9 changes: 1 addition & 8 deletions extension/background.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
let color = '#3aa757';

chrome.runtime.onInstalled.addListener(() => {
chrome.storage.sync.set({ color });
console.log('Default background color set to %cgreen', `color: ${color}`);
});

let location = 'Workplace';

chrome.runtime.onInstalled.addListener(() => {
chrome.storage.sync.set({ location });
console.log(`Default workplace location set to ${color}`);
console.log(`Default workplace location set to ${location}`);
});

0 comments on commit 80bf5f4

Please sign in to comment.