fix two clients syncing at the time

This commit is contained in:
Kevin Jahns
2017-07-19 21:19:41 +02:00
parent cd3f4a72d6
commit 747da52c0b
4 changed files with 4 additions and 6 deletions

View File

@@ -1,5 +1,3 @@
/* @flow */
'use strict'
function canRead (auth) { return auth === 'read' || auth === 'write' }
function canWrite (auth) { return auth === 'write' }