[Client] Fix bug
This commit is contained in:
parent
05fcc84c22
commit
f79b15f610
@ -41,6 +41,8 @@ init(async (me, stream) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
function registerNotifications(stream) {
|
function registerNotifications(stream) {
|
||||||
|
if (stream == null) return;
|
||||||
|
|
||||||
stream.on('drive_file_created', file => {
|
stream.on('drive_file_created', file => {
|
||||||
const n = new Notification('ファイルがアップロードされました', {
|
const n = new Notification('ファイルがアップロードされました', {
|
||||||
body: file.name,
|
body: file.name,
|
||||||
|
Loading…
Reference in New Issue
Block a user