Include project in payload
This commit is contained in:
@@ -192,10 +192,10 @@ class WakaTimeCore {
|
||||
*/
|
||||
_preparePayload(entity, type, debug = false) {
|
||||
return JSON.stringify({
|
||||
entity: entity,
|
||||
entity: entity.url,
|
||||
type: type,
|
||||
time: moment().format('X'),
|
||||
project: '<<LAST_PROJECT>>',
|
||||
project: entity.project || '<<LAST_PROJECT>>',
|
||||
is_debugging: debug,
|
||||
plugin: 'chrome-wakatime/' + config.version
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user